Unable to initialize main class


#1

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!
Regards,
SD


#2

Do you have the full stack trace?