Quantcast
Channel: Under Tomcat java.lang.NoClassDefFoundError when accessing a servlet? - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by Florent for Under Tomcat java.lang.NoClassDefFoundError when...

Java EE Module Dependencies seem to be the way to go. However, menus names changed in Eclipse Helios: that particular menu is now under "Deployment Assembly".

View Article



Answer by jcarter095 for Under Tomcat java.lang.NoClassDefFoundError when...

A easy mistake to make is to misname the directory under WEB_INF, I've named it libs instead of lib, compiles fine but tomcat throws errors.

View Article

Answer by Omar Kooheji for Under Tomcat java.lang.NoClassDefFoundError when...

I found the issue:If you right click on the project and select properties you can set the "Java EE Module dependencies" to include the modules you are using.Hey Presto it works.

View Article

Answer by Brian Agnew for Under Tomcat java.lang.NoClassDefFoundError when...

Don't forget that there's a difference between how you build and how you deploy. That is, you may be building against XStream, but you should also package it in the .war file for deployment. Explode...

View Article

Under Tomcat java.lang.NoClassDefFoundError when accessing a servlet?

I'm writing a web applicaion in Eclipse, and I'm using the XStream Serialization Library to generate My JSON.I've encapsulated the Code that builds up the JSON in a class which is called by my...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images