Ugh. Of course, you're right. I had been getting a ClassNotFoundException
before I tried the DevLoader, and I didn't notice that the error had changed
to ClassCastException afterward.

I'm not sure how to remove servlet-api from the Maven dependencies list. The
Properties/Java Build Path/Libraries approach that I use for normal jars
doesn't work -- the "Remove" option is disabled. My very basic understanding
of Maven would point me at the pom.xml, but that doesn't explicitly list
servlet-api as a dependency either. Where is servlet-api defined as a
dependency, and how do I get rid of it?

Thanks for all your help.


Martijn Dashorst wrote:
> 
> Obviously it *is* finding the wicket-1.3.4.jar. ClassCastException !=
> ClassNotFoundException.
> 
> You have to remove the servlet-api jar from the classpath when you run
> your application in tomcat.
> 
> Martijn
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-QuickStart-in-Eclipse-on-Tomcat-tp19183955p19185757.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to