on 02-17-2005 12:22 PM
Hi,
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:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring><b>netscape/ldap/LDAPException</faultstring><detail><ns1:java.lang.NoClassDefFoundError</b> xmlns:ns1='http://sap-j2ee-engine/error'>netscape/ldap/LDAPException</ns1:java.lang.NoClassDefFoundError></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
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
Vincent
Could someone explain how to solve this matter?
I've got the same problem, my web service uses the endpoint class which uses another class in the same package. First class is visible for web service. The second one can not be loaded, debug shows that the system attempts to load class with name "com.sap/j2eComp". It's not needed class but container in which required class situated.
Thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vincent,
I am having the same problem. could you tell me how you resolved it.
Thanks,
Wael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.