Hi Keps
I had your same problem and I solved with the solution provided by Henri (adding widgetset property to @VaadinServletConfiguration in your UI class)
Your answer helped me to spot the problem. I didn’t use annotations in my UI class because I was using the web.xml file to declare the servlet. When I used annotations as you indicated it worked, so looking at my web.xml file I realised that I have declared the widgeset outside the servlet tag (silly me) when I should have done like that:
<servlet>
<servlet-name>Vaadin Test</servlet-name>
<servlet-class>com.vaadin.server.VaadinServlet</servlet-class>
<init-param>
<description>Vaadin UI class to use</description>
<param-name>UI</param-name>
<param-value>com.test.TesterUI</param-value>
</init-param>
<init-param>
<param-name>widgetset</param-name>
<param-value>com.example.tester.widgetset.TesterWidgetset</param-value>
</init-param>
</servlet>
Hello,
The same problem appears in my Vaadin CDI project (vaadin 7.3.8, weld servlet 2.2.8, tomcat 8) .When I try to define a widgetset using either @VaadinServletConfiguration
@VaadinServletConfiguration(productionMode = false, ui = MyUI.class, widgetset="com.myapp.AppWidgetSet")
public static class MyServlet extends VaadinCDIServlet {
}
or web.xml
<servlet>
<servlet-name>myapp</servlet-name>
<servlet-class>com.vaadin.cdi.server.VaadinCDIServlet</servlet-class>
<init-param>
<param-name>widgetset</param-name>
<param-value>com.myapp.AppWidgetSet</param-value>
</init-param>
</servlet>
I get the following error:
org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.SessionScope
When I remove the servlet everything works fine, except "widgetset does not contain … " on some addons.
I am trying to deploy an application and it keeps complaining about missing widgetset. Works fine from eclipse but when I call webserver with 10.0.0.5 complains about missing widgetset.
I also have problems using both touchkit and leaflet even using loclahost. I followed all the advice on forum and am at a loss
I have annotations and web.xml file
[size=2]
[font=verdana]
I get the following WARN
WARNING:
The widgetset in use does not seem to be built for the Vaadin
version in use. This might cause strange problems - a
recompile/deploy is strongly recommended.
Vaadin version: 7.5.1
Widgetset version: 7.4.6
On 10.0.0.5 I get the following warning and doesn’t work
For the lealet Problem Isee this instead of the widget
MapWidgetset ‘com.vaadin.addon.touchkit.gwt.TouchKitWidgetSet’ does not contain implementation for org.vaadin.addon.leaflet.LMap. Check its component connector’s @Connect 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.
I defined a number of clientside widgets (they need no servside connection, but haven’t marked them in anyway other than they inheirit from touchkit widgets. Is there something else I need to do?
Hello:
I’m having this same mistake, now in Eclipse, because the same thing happened to me in IntelliJ IDEA, jejej … I moved to eclipse it in IntelliJ IDEA there is very little support.
I did everything I explained here and I was able remove the initial error, but now when you run the application, the browser is blank, does not generate errors, but do not charge anything, it makes the page load time indefinido.En Tomcat itself generates me the following message:
"INFORMATION: Requested resource
[/VAADIN/widgetsets/com.example.inicial.widgetset.InicialWidgetset/8B88B655241E96773E29E717B447A989.cache.js] not found or from filesystem Through class loader. Add widgetset and / or theme JAR to your classpath or add files to WebContent / Vaadin folder. "
Apparently something missing, and do not know what it is.
Any ideas ?, I try adding hand the Add Ons and their dependencies.
I had a problem like this.
I upgraded the 7.6.4, latest Touchkit, latest leaflet - put jars into VAADIN/WEB-INF/lib
recompiled theme and widgetset and it worked!
Now just the FontAWESOME stuff stopped working :-{
Alen I’am developing a web project with vaadin framework and Intellij idea IDE i use Charts librairy to display statistics i put those 5 jar under WEB-INF\lib but when i run the server i get this result (I don’t like to use maven and Ivy).Please could you help me!!
Check to see that the same jars in the lib are also in the buildpath (7.6.4 versions)
Clean everything (both server and project) an recompile the widget set.
Good luck
thanks Alen for replying but i didn’t know how to recompile widget set on intellij.I will appreciate it if you coud check the problem with me here my UI to test charts and my web.xml