Strange Servlet Error ... I am stuck... NoClassDefFound
Hii,
Here is my situation, (desperate)...
I have developed a web based applicaiton on Windows XP platform ... and I want to deploy the system to the Fedora Core 4... but I couldnt been able to make it ... tomcat (5) gives strange error message which is :
exception :
javax.servlet.servletexception : Error instantiating servlet class
root couse :
java.lang.noclassdeffounderrror : while resolving class : manager.abc
Everthing is copleate, jsp files, class file ... all that staff is in place... the same folder structure, same web.xml file etc... but I am getting this error message again and again...
I am stuck to that...
Thanks...
[697 byte] By [
atopraka] at [2007-10-2 6:41:54]

So in the webapps\[yourapp]\WEB-INF\classes folder, you have a manager folder containing a class called abc.class? You should probably check that first. If not, could you post some more details--what does your dir structure look like, where are you referencing manager.abc?
yes... that is exactly correct... I have an extra folder (package) in classes folder as you mentioned... and there is a abc.class.....this mt folder structure.... of course there are other direcories in the class folder.. and many other, dozensof servlets and class files ...
This is not the case "cant find the class abc.class" ... becouse if I change the place of the class or change the mapping of the class from web.xml, I get "CLass Not Found exception" ... in this case, as far as I understood, tomcat founds the class however cant use it ...