NoClassDefFoundError while running a program using AWS SDK for java

和自甴很熟 提交于 2019-12-05 02:56:04

Inside the aws-java-sdk-1.3.2 folder you will find another folder named "third-party". All the third-party files used by Amazon SDK are inside that folder, including Apache Common Logging. You have to add the required files to your classpath along with AWS SDK jar files.

It looks like your AWS JAR needs a few extra JARs to implement used, but non-AWS items (like in your case logging).

If you downloaded a distributable that contains a "lib" directory, odds are you only configured Eclipse to use the AWS JAR instead of all the required JARs, including AWS and probably all the JARs in the "lib" directory.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!