Are you, by any chance, using the DevLoader plugin to run Tomcat ?
If so, you should go in the tomcat properties of your project, edit the
devloader classpath properties, and disable all jetty jars and the
servlet-api jar ...
Hope this helps,
Antoine.
insom wrote:
I'm trying to run the Wicket QuickStart app in Eclipse on Tomcat. I'm
entirely new to Maven and its dependencies (which seem to be just project
libraries?) I think I have it mostly configured correctly, but when I start
Tomcat I get the following error:
java.lang.ClassCastException: org.apache.wicket.protocol.http.WicketFilter
cannot be cast to javax.servlet.Filter
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:255)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
.
.
.
Obviously, it's not finding the wicket-1.3.4.jar. Here are my screenshots
from Eclipse:
http://www.nabble.com/file/p19183955/packageExplorer.png
and
http://www.nabble.com/file/p19183955/buildPath.png
So it appears that the wicket jar is there under Maven Dependencies. Is
there anything I need to do in order to get the items under Maven
Dependencies to be recognized by the application?
Thanks much.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]