0

I use WalmartMarketPlaceAPI java SDK . but it tell me this class 'com.walmart.marketplace.sdk.cli.SDKClient' not found, somebody can tell how to solve it ?

enter image description here

alexander.polomodov
  • 5,396
  • 14
  • 39
  • 46

1 Answers1

0

Please make sure that you are using JDK version 7 or 8 only. Also please make sure you are using command mvn exec:java -Dexec.classpathScope=test -Dexec.mainClass="com.walmart.marketplace.sdk.cli.SDKClient" -Dexec.args="MarketplaceClientConfig.properties" instead of using mvn exec:java -Dexec.classpathScope=test -Dexec.mainClass=“com.walmart.marketplace.sdk.cli.SDKClient” -Dexec.args=“MarketplaceClientConfig.properties” (note the difference in quotes)

Ruchi
  • 1
  • Hi, in order to make your answer more readable, check out Stack Overflow's [Markdown editing help](https://meta.stackoverflow.com/editing-help#code). You'll see how to properly post pieces of code on StackOverflow. – Luis Milanese Nov 17 '17 at 19:05