I installed AWS SDK bundle from http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.aws-java-sdk 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,...