cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JAVA ebay sdk java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver

1.I am a Java developer and encountered the following issues when using version 1131 of eBay SDK.

pigzero19_0-1688450766327.png

 

2.Then I checked the corresponding class files and found that SDK did not provide the following related classes

 

Import org. apache. xml. utils. PrefixResolver;

Import org. apache. xml. utils. PrefixResolverDefault;

Import org. apache. xml. utils. SAXSourceLocator;

Import org. apache. xpath. XPath;

Import org. apache. xpath. XPathContext;

Import org. apache. xpath. objects. XOObject;

 

3.Next, I tried to add the following dependencies to ensure the correctness of the class, but the following error occurred during normal API calls

<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.3</version>
</dependency>

 Caused by: com.ebay.sdk.SdkException: ApiCall.execute() - com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
at com.ebay.sdk.ApiCall.executeByApiName(Unknown Source)
at com.ebay.sdk.ApiCall.execute(Unknown Source)
at com.dyt.marketing.admin.business.ebay.service.api.impl.EbayReviseInventoryStatusServiceImpl.invokeReviseInventoryStatusApi(EbayReviseInventoryStatusServiceImpl.java:97)

please help me, thank you very much

Message 1 of 2
latest reply
1 REPLY 1

JAVA ebay sdk java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver

Hi did you ever resolve this?

Message 2 of 2
latest reply