Home
Find the answer to your question
I got a NoClassDefFoundError exception in javax/xml/soap/SOAPException when i try to run any sdk sample demo
Summary
This can occur when your Java classpath is not set correcly. Your JVM can't locate the javax.xml.soap.SOAPException class which is included in the saaj.jar library. The library is bundled with the eBay JAVA SDK package. You need to make sure to add %EBAY_SDK_HOME%/externalLib/axis-1_1/saaj.jar in your java runtime classpath. To avoid missing libraries, you can simply add all externalLib JARs to your runtime classpath.
The information above was based on the versions specified below:
API Schema Version | 483 |
Java SDK Version | javasdk v479.0 Full release |