After upgrading from 22.2.x to 22.3.x, the Deploy fails to start with the following error:
Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsS3
Environment RepositoryFactory' defined in class path resource [org/springframework/cloud/
instantiation via factory method failed; nested exception is org.springframework.beans.
BeanInstantiationException: Failed to instantiate [org.springframework.cloud.config.server.
environment.AwsS3EnvironmentRepositoryFactory]: Factory method 'awsS3EnvironmentRepository
Factory' threw exception; nested exception is java.lang.NoClassDefFoundError: com/amazonaws/
Affected Products & Versions
The issue is caused by the plugin xld-codepipeline-plugin(xld-codepipeline-plugin-6.0.0.xldp). It bundles older version of aws-sdk jar which is causing this issue.
As a temporary workaround, you can try adding the following libraries to the Deploy_Home/lib directory:
Or remove the xld-codepipeline-plugin-6.0.0.xldp and then perform the upgrade.
Please sign in to leave a comment.