Expand my Community achievements bar.

SOLVED

Class working well in CQ5.6.1, but got "could not initialize error" in CQ6.1

Avatar

Level 1

I installed AWS SDK bundle from http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.aws-ja... into CQ5.6.1,

this code line works well in my component jsp file,

com.amazonaws.auth.AWSCredentials mycredential = new com.amazonaws.auth.BasicAWSCredentials(key1,key2);

But I installed the same bundle into CQ6.1, and confirmed the bundle is active from system/console, but still got error saying

"Could not initialize class com.amazonaws.ClientConfiguraiton" .

Something change in CQ6.1 cause this problem ?  

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi Arron Ella

Please have a look at this stackoverflow article if this could help you.

Link:- http://stackoverflow.com/questions/25684905/could-not-initialize-class-com-amazonaws-services-sqs-am...

Another link which might help you :- https://github.com/weavejester/clj-aws-s3/issues/83

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Correct answer by
Administrator

Hi Arron Ella

Please have a look at this stackoverflow article if this could help you.

Link:- http://stackoverflow.com/questions/25684905/could-not-initialize-class-com-amazonaws-services-sqs-am...

Another link which might help you :- https://github.com/weavejester/clj-aws-s3/issues/83

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Employee

Hi,

when you install/restart the bundle, are you getting any output in error.log

Have you restarted the instance since installing the bundle, do you still get the error after restarting your instance after previously having installed the bundle?

Regards,

Opkar

Avatar

Level 1

Thanks for your reply.

I did stop/start the bundle, and there is no error in error.log.

and then I restarted AEM, but no lucky. still see the same error.