amazon web services - Upload an Object Using the AWS SDK for Java -


i using following code aws documentation:

http://docs.aws.amazon.com/amazons3/latest/dev/uploadobjsingleopjava.html

and have used following jars : jars used

and getting following error :

exception in thread "main" java.lang.noclassdeffounderror: org/apache/commons/logging/logfactory @ com.amazonaws.amazonwebserviceclient.(amazonwebserviceclient.java:58) @ uploadobject.main(uploadobject.java:17) caused by: java.lang.classnotfoundexception: org.apache.commons.logging.logfactory @ java.net.urlclassloader$1.run(unknown source) @ java.net.urlclassloader$1.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ sun.misc.launcher$appclassloader.loadclass(unknown source) @ java.lang.classloader.loadclass(unknown source) ... 2 more

any appreciated same. have tried adding common logging jars no luck.

hi there quite few third-party library's required aws work. ones below extras packaged sdk download. seem remember there being 1 missing though let me know if doesn't work , i'll check dependencys.

all of these can found in '\aws-java-sdk-1.9.1\third-party'

aspectj-1.6

commons-codec-1.6

commons-logging-1.1.3

freemarker-2.3.1.8

httpcomponents-client-4.3

jackson-annotations-2.3.0

jackson-core-2.3.2

jackson-databind-2.3.2

javax-mail-1.4.6

joda-time-2.2

spring-3.0


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -