[ 
http://jira.codehaus.org/browse/MOJO-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof closed MOJO-1076.
---------------------------------

    Resolution: Cannot Reproduce

My issue was introduced by gwt-user.jar that contains javax.servlet package.

Setting it as provided solved the issue.


> org.springframework.web.servlet.DispatcherServlet cannot be cast to 
> javax.servlet.Servlet
> -----------------------------------------------------------------------------------------
>
>                 Key: MOJO-1076
>                 URL: http://jira.codehaus.org/browse/MOJO-1076
>             Project: Mojo
>          Issue Type: Bug
>          Components: sysdeo-tomcat
>         Environment: tomcat 6 windows XP Java 6.0 (jrockit)
>            Reporter: nicolas de loof
>
> My application is configured with spring-webmvc as a dependency, and 
> DispatcherServlet configured in my web.xml.
> When starting tomcat with the plugin-generated configuration, I get :
> java.lang.ClassCastException: 
> org.springframework.web.servlet.DispatcherServlet cannot be cast to 
> javax.servlet.Servlet
>       at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to