JAVA ebay sdk java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2023 11:14 PM
1.I am a Java developer and encountered the following issues when using version 1131 of eBay SDK.
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
JAVA ebay sdk java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 10:59 AM
Hi did you ever resolve this?
