Hi I have project that develop with java 8 and manage in google app engine and everything work fine. my project used appengine-web.xml and not app.ymal file to config the app engine i decided to upgrade to java 11 so now i need to use app.ymal file to config app engine. this is my config file
runtime: java11
env: standard
entrypoint: 'java -cp "*" mypackageName.ServerMain myprojectName-1.0.war'
after upgrate to java 11 in my local host the project work fine but when i deploy the project to app engine i get error (from app engine logs)
2022-09-22 11:01:43.876 IDT
Error: Could not find or load main class mypackageName.ServerMain
2022-09-22 11:01:43.876 IDT
Caused by: java.lang.ClassNotFoundException: mypackageName.ServerMain
to upgrade my project to java 11 i use this guide https://happycoding.io/tutorials/google-cloud/migrating-to-java-11
config pom file
<modelVersion>4.0.0</modelVersion>
<packaging>war</packaging>
<version>1.0</version>
<groupId>mypackageName</groupId>
<artifactId>myprojectName</artifactId>
when i look on app engine console i saw war file correct and app.yaml file
so what is problem thank you