java-war/dellroad-stuff

Error message while using spring for vaadin

Closed this issue · 2 comments

What steps will reproduce the problem?
1.open the url http://localhost:8080/hello/HelloWorld
2.wait for 20 seconds


What is the expected output? What do you see instead?

--Web page http://localhost:8080/hello/HelloWorld--page should be displayed 
without any errors.

--Instead getting this error popup:Failed to load the widgetset: 

/VAADIN/widgetsets/com.vaadin.terminal.gwt.DefaultWidgetSet/com.vaadin.terminal.
gwt.DefaultWidgetSet.nocache.js?1308265285251What version of the product are 
you using? On what operating system?windows


Please provide any additional information below.

--i have attached sample maven project.

Original issue reported on code.google.com by devsun...@gmail.com on 16 Jun 2011 at 11:13

Attachments:

Issue is related to using class 
org.dellroad.stuff.vaadin.WebContextApplicationServlet

Original comment by devsun...@gmail.com on 16 Jun 2011 at 11:14

Your configuration is incorrect. You need to add this to web.xml:

    <servlet-mapping>
        <servlet-name>dispatcher</servlet-name>
        <url-pattern>/VAADIN/*</url-pattern>
    </servlet-mapping>

When I do that with your example it works.

Apparently when you took my demonstration code and converted it from ant to 
maven it broke.


Original comment by archie.c...@gmail.com on 17 Jun 2011 at 3:04

  • Changed state: Invalid