简体   繁体   中英

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

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

my runtime version in my buildspec is openjdk8

I don't see OpenJDK listed as a supported runtime for Elastic Beanstalk here . You need to change your settings to specify corretto8 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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