我刚刚创建了一个示例JHipster应用程序并生成了war文件。 我创建了一个以Tomcat为环境的Elastic Beanstalk,并赞美war文件。 Beantalk处于降级状态。
这是错误日志。还有推荐的方法来将JHipster应用程序部署到弹性beantalk吗?
[Instance: i-0747156d94153abba] Command failed on instance. Return code: 1 Output: (TRUNCATED)...pamodelgen-5.2.17.Final.jar extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/mapstruct-processor-1.2.0.Final.jar extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/spring-boot-configuration-processor-2.0.6.RELEASE.jar. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/02unzip.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
/var/log/eb-activity.log
extracting: /tmp/deployment/application/ROOT/WEB-INF/lib/guava-25.1-jre.jar
creating: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/
extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/hibernate-jpamodelgen-5.2.17.Final.jar
extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/mapstruct-processor-1.2.0.Final.jar
extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/spring-boot-configuration-processor-2.0.6.RELEASE.jar (Executor::NonZeroExitStatus)
[2018-11-07T04:14:06.917Z] INFO [3168] - [Application deployment jhipster@1/StartupStage0/AppDeployPreHook/02unzip.sh] : Activity failed.
[2018-11-07T04:14:06.917Z] INFO [3168] - [Application deployment jhipster@1/StartupStage0/AppDeployPreHook] : Activity failed.
[2018-11-07T04:14:06.917Z] INFO [3168] - [Application deployment jhipster@1/StartupStage0] : Activity failed.
[2018-11-07T04:14:06.919Z] INFO [3168] - [Application deployment jhipster@1] : Completed activity. Result:
Application deployment - Command CMD-Startup failed