Unable to initialize main class


Hi All,

I am a starter using API MWS. I have downloaded and config the Java SDK (compiled without errors). However, when i tried to get some sample information. I got the error:

“Error: Unable to initialize main class com.amazonservices.mws.products.samples.GetLowestPricedOffersForASINSample
Caused by: java.lang.NoClassDefFoundError: com/amazonservices/mws/client/MwsException”

Could you please advise me how to deal with this issue ?

Thank You!


Do you have the full stack trace?