I am getting NoClassDefFoundError in my spring web application. I have created a war file and I am referencing a .jar file which is in WEB-INF/lib and deployed to
jboss 4.0.5 as a war.
I have confirmed that the .jar file is correctly included in the war and the code compiles fine, but at run time I get the NoClassDefFoundError inside a class that was instantiated by spring. Is there some other magic I need in spring to declare the files included in my jar file?
Sorry for such a vague description, I am having a tough time describing the problem since I hardly understand it myself. I can try to provide more details if requested.