And I add this to the class path. But when I run this application I got this exceptions:
Caused by: java.lang.ClassNotFoundException: org.vaadin.cssinject.CSSInject
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 50 more
When I add cssinject.jar to the runtime (in the plugin.xml for resolving CSSInject at runtime) of the visual designer I got this exception
Widgetset does not contain implementation for org.vaadin.cssinject.CSSInject. Check its @ClientWidget mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions. Unrendered UIDL:
You need to recompile the widgetset of the Vaadin part of the visual designer.
If I remember correctly, there is an Ant script to do that somewhere in the project.