Skip to main content
Published: October 23 2006, 1:21:00 PMUpdated: November 28 2020, 2:55:45 PM

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.


Version Info

The information above was based on the versions specified below:

API Schema Version483
Java SDK Versionjavasdk v479.0 Full release

How well did this answer your question?
Answers others found helpful