简体   繁体   English

aws 名为“openjdk8”的 java 的未知运行时版本。 此构建映像具有以下版本:corretto11、corretto8

[英]aws Unknown runtime version named 'openjdk8' of java. This build image has the following versions: corretto11, corretto8

I am trying to deploy my java application to aws EBS using codecommit我正在尝试使用 codecommit 将我的 java 应用程序部署到 aws EBS

but I am faced with this error但我面临这个错误

YAML_FILE_ERROR Message: Unknown runtime version named 'openjdk8' of java. This build image has the following versions: corretto11, corretto8

I am using ubuntu with codebuild standard:4.0我正在使用 ubuntu 代码构建标准:4.0

my runtime version in my buildspec is openjdk8我的构建规范中的运行时版本是 openjdk8

I don't see OpenJDK listed as a supported runtime for Elastic Beanstalk here .我没有看到 OpenJDK 在此处被列为 Elastic Beanstalk 的受支持运行时。 You need to change your settings to specify corretto8 .您需要更改设置以指定corretto8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM