|
Re: Maven-Vaadin [message #814551 is a reply to message #814541] |
Tue, 06 March 2012 15:30 |
|
On 3/6/2012 8:21 AM, chen shun wrote:
> Hello,
> I have tried to test the example of vaadin in Maven, firstly, "Hello
> world" works well but when i test anothers "TreeTable", there is the
> exception of "MyVaadinApplication cannot be cast to
> com.vaadin.Application".
> And there is content of web.xml
> **********************
> <?xml version="1.0" encoding="UTF-8" ?> - <web-app>
> <display-name>Vaadin Web Application</display-name> - <context-param>
> <description>Vaadin production mode</description>
> <param-name>productionMode</param-name> <param-value>false</param-value>
> </context-param>
> - <servlet>
> <servlet-name>Vaadin Application Servlet</servlet-name>
> <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
> - <init-param>
> <description>Vaadin application class to start</description>
> <param-name>application</param-name>
> <param-value>com.MyVaadinApplication</param-value> </init-param>
> </servlet>
> - <servlet-mapping>
> <servlet-name>Vaadin Application Servlet</servlet-name>
> <url-pattern>/*</url-pattern> </servlet-mapping>
> </web-app>
> ************************
> I don'r kown if anyone has the same problem? And how to solve.
> Thanks very much!!!
This is the Eclipse newcomers forum for questions about installing and
using Eclipse. You're looking for support, probably from Vaadin, maybe
for Maven, but not from Eclipse.
|
|
|
Powered by
FUDForum. Page generated in 0.09305 seconds