Skip to Content
Former Member
Apr 15, 2008 at 09:17 AM

java.lang.NoClassDefFoundError problem


Hi everyone

I have developed a login module class. In this class I call a webservice, so I have imported some external classes. And I export the jar file, create a library project and deploy the library project on to the server following the help document. After that I add my login module into the ticket template. When I want to logon to the portal, I always meet the "java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException" exception after I inputed the id and password.

I have tried many ways. For example in my login module project, I import the jars I used into my project and in build path choose "add jar..." not "add external jar...". Then export my project including all the jars I used. I also try to copy all the jars I used onto the server, under the <java home>/jre/lib/ext directory. I also have changed the MANIFEST.MF file of my project by adding the classpath to it. But nothing helps me.

So do you have any more method to solve my problem?