0
我試圖通過Jenkins將我的壓縮版本的應用程序部署到Elastic Beanstalk。 我的S3存儲桶名稱和Elastic Beanstalk配置是正確的。Jenkins AWS Elastic Beanstalk部署錯誤
com.cloudbees.plugins.deployer.exceptions.DeployException: com.amazonaws.regions.RegionUtils.getRegionByEndpoint(Ljava/lang/String;)Lcom/amazonaws/regions/Region;
at com.cloudbees.plugins.deployer.engines.Engine.process(Engine.java:185)
at com.cloudbees.plugins.deployer.engines.Engine.perform(Engine.java:119)
at com.cloudbees.plugins.deployer.DeployPublisher.perform(DeployPublisher.java:101)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:789)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:730)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:675)
at hudson.model.Run.execute(Run.java:1753)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
Caused by: java.lang.NoSuchMethodError: com.amazonaws.regions.RegionUtils.getRegionByEndpoint(Ljava/lang/String;)Lcom/amazonaws/regions/Region;
at com.cloudbees.plugins.deployer.impl.amazon.EngineImpl$DeployFileCallable.<init>(EngineImpl.java:259)
at com.cloudbees.plugins.deployer.impl.amazon.EngineImpl.newDeployActor(EngineImpl.java:99)
at com.cloudbees.plugins.deployer.impl.amazon.EngineImpl.newDeployActor(EngineImpl.java:64)
at com.cloudbees.plugins.deployer.engines.Engine.process(Engine.java:178)
... 11 more
順便說一下,在AWS中,「EBS」代表Elastic Block Store,而不代表Elastic Beanstalk。 –