amazon web services - java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.ClientConfiguration -


using bundle - aws-java-sdk-osgi-1.11.26.jar in osgi server

below error thrown when executed amazons3 s3 = new amazons3client( credentials );

java.lang.noclassdeffounderror: not initialize class com.amazonaws.clientconfiguration         @ com.amazonaws.clientconfigurationfactory.getdefaultconfig(clientconfigurationfactory.java:46)         @ com.amazonaws.clientconfigurationfactory.getconfig(clientconfigurationfactory.java:36)         @ com.amazonaws.services.s3.amazons3client.<init>(amazons3client.java:440) 

any solution fix this?

thanks suggestions

the clientconfiguration of aws-java-sdk-osgi-1.11.26.jar dependent of jackson-databind.jar jackson-databind.jar dependent on jackson-core.jar not able initialize clientconfiguration.

added import-package importing jackson-core-osgi.jar in manifest of jackson-databind-osgi.jar

then issue resolved

note: dependent jars converted osgi jars , deployed


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -