Hi I'm trying to migrate existing app engine standard model (JDK8) to Java11 according to the guide at Google cloud
There is no issue on compile, but we I try to run on local development server it generates this error. I'm using maven and tried "maven package appengine:run".
Any guide and information will be appreciated.
Nov 20, 2019 3:53:17 PM com.google.cloud.tools.appengine.operations.DevAppServerRunner run
INFO: submitting command: C:\Program Files\Java\openjdk-11.0.5-1\bin\java.exe -Xms2048m -Xmx8092m -Duse_jetty9_runtime=true -D--enable_all_permissions=true -Dappengine.sdk.root=C:\Users\hkim\AppData\Local\google\ct4j-cloud-sdk\LATEST\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java -cp C:\Users\hkim\AppData\Local\google\ct4j-cloud-sdk\LATEST\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\lib\appengine-tools-api.jar com.google.appengine.tools.development.DevAppServerMain --application=mywms --allow_remote_shutdown --disable_update_check --no_java_agent D:\xxxx\Iridium\target\iridium-1.0.0
[INFO] GCLOUD: WARNING: An illegal reflective access operation has occurred
[INFO] GCLOUD: WARNING: Illegal reflective access by com.google.appengine.tools.development.StreamHandlerFactory (file:/C:/Users/hkim/AppData/Local/google/ct4j-cloud-sdk/LATEST/google-cloud-sdk/platform/google_appengine/google/appengine/tools/java/lib/impl/appengine-local-runtime.jar) to method java.net.URL.getURLStreamHandler(java.lang.String)
[INFO] GCLOUD: WARNING: Please consider reporting this to the maintainers of com.google.appengine.tools.development.StreamHandlerFactory
[INFO] GCLOUD: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[INFO] GCLOUD: WARNING: All illegal access operations will be denied in a future release
[INFO] GCLOUD: com.google.apphosting.utils.config.AppEngineConfigException: Invalid configuration
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerImpl.reportDeferredConfigurationException(DevAppServerImpl.java:432)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:233)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:44)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:220)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:218)
[INFO] GCLOUD: at java.base/java.security.AccessController.doPrivileged(Native Method)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:218)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:404)
[INFO] GCLOUD: at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:45)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:257)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:248)
[INFO] GCLOUD: Caused by: com.google.apphosting.utils.config.AppEngineConfigException: Line 2, column 4: Unable to find property 'env' on class: com.google.apphosting.utils.config.AppYaml
[INFO] GCLOUD: at com.google.apphosting.utils.config.AppYaml.parse(AppYaml.java:1491)
[INFO] GCLOUD: at com.google.apphosting.utils.config.AppYamlProcessor.convert(AppYamlProcessor.java:42)
[INFO] GCLOUD: at com.google.apphosting.utils.config.EarHelper.readWebModule(EarHelper.java:171)
[INFO] GCLOUD: at com.google.appengine.tools.development.ApplicationConfigurationManager$WarModuleConfigurationHandle.readConfiguration(ApplicationConfigurationManager.java:416)
[INFO] GCLOUD: at com.google.appengine.tools.development.ApplicationConfigurationManager.<init>(ApplicationConfigurationManager.java:157)
[INFO] GCLOUD: at com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:99)
[INFO] GCLOUD: at com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:85)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerImpl.<init>(DevAppServerImpl.java:143)
[INFO] GCLOUD: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[INFO] GCLOUD: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[INFO] GCLOUD: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[INFO] GCLOUD: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerFactory.doCreateDevAppServer(DevAppServerFactory.java:354)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:301)
[INFO] GCLOUD: at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:383)
[INFO] GCLOUD: ... 3 more
[INFO] GCLOUD: Caused by: com.google.appengine.
repackaged.com.esotericsoftware.yamlbeans.YamlReader$YamlReaderException: Line 2, column 4: Unable to find property 'env' on class: com.google.apphosting.utils.config.AppYaml
[INFO] GCLOUD: at com.google.appengine.
repackaged.com.esotericsoftware.yamlbeans.YamlReader.readValueInternal(YamlReader.java:344)
[INFO] GCLOUD: at com.google.appengine.
repackaged.com.esotericsoftware.yamlbeans.YamlReader.readValue(YamlReader.java:136)
[INFO] GCLOUD: at com.google.appengine.
repackaged.com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:103)
[INFO] GCLOUD: at com.google.appengine.
repackaged.com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:90)
[INFO] GCLOUD: at com.google.apphosting.utils.config.AppYaml.parse(AppYaml.java:1474)
[INFO] GCLOUD: ... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.568 s
[INFO] Finished at: 2019-11-20T15:53:18+13:00
[INFO] ------------------------------------------------------------------------