Skip to Content
Former Member
Feb 17, 2005 at 12:22 PM

java.lang.NoClassDefFoundError in WebService



i have developed my Java Classed to access a LDAP Server in a Simple Java Project. For this i have added the ldapjdk.jar as a external JAR in the Build Path. Then i was creating in the WebService Perspective directly from one of my classes a Webservice.

I was building the project.ear file an deploying it to WAS 6.40 SP10. I tested with the Web Service Navigator but i reached a Error java.lang.NoClassDefFoundError where he couldn't find the classes located in the JAR-File ldapjdk.jar.

Error Message:" xmlns:xs="" xmlns:xsi="" > SOAP-ENV:Server netscape/ldap/LDAPException xmlns:ns1='http://sap-j2ee-engine/error'>netscape/ldap/LDAPException

The ldapjdk.jar was properly deployed with the EAR-FILE within the WSAR-File.

I think the there is a Problem in WAS 6.40 to find the class in the JAR File.

Is there an solution?

Thanks for help