Java App Engine Project in eclipse return Server App Engine Standard at Localhost failed to start

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Java App Engine Project in eclipse return Server App Engine Standard at Localhost failed to start



I'm working on a Java App Engine application using Java 7 in Eclipse Photon. I have an existed App engine Java web application received from one of our developers when I create a new App engine standard project and import this project and try to run it return this error:



Server App Engine Standard at localhost failed to start.



And Here's the stack trace:


Warning: Google App Engine Java 7 runtime is deprecated.
Warning: See https://cloud.google.com/appengine/docs/deprecations/java7
java.lang.RuntimeException: Unable to create a DevAppServer
at com.google.appengine.tools.development.DevAppServerFactory.doCreateDevAppServer(DevAppServerFactory.java:401)
at com.google.appengine.tools.development.DevAppServerFactory.access$000(DevAppServerFactory.java:31)
at com.google.appengine.tools.development.DevAppServerFactory$1.run(DevAppServerFactory.java:318)
at com.google.appengine.tools.development.DevAppServerFactory$1.run(DevAppServerFactory.java:315)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:314)
at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:374)
at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:45)
at com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:247)
at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:238)
Caused by: java.lang.ClassCastException: ClassLoader is jdk.internal.loader.ClassLoaders$AppClassLoader@4459eb14, not a URLClassLoader.
at com.google.apphosting.utils.security.SecurityManagerInstaller.generatePolicyFile(SecurityManagerInstaller.java:139)
at com.google.apphosting.utils.security.SecurityManagerInstaller.install(SecurityManagerInstaller.java:94)
at com.google.appengine.tools.development.DevAppServerFactory.doCreateDevAppServer(DevAppServerFactory.java:377)
... 9 more





github.com/GoogleCloudPlatform/google-cloud-eclipse/issues/… checking in the link i've shared...
– Pradeep
Aug 10 at 5:40





Hi @Pradeep, in my case even Helloworld app is getting the same error.
– Abdul Rehman
Aug 10 at 5:50





mkyong.com/google-app-engine/…
– Pradeep
Aug 10 at 7:43





@AbdulRehman Please confirm whether or not you were following this quickstart. Check this Stack Overflow post and if the issue still persist please provide your pom.xml but delete all sensitive info like you Google Cloud Project ID.
– komarkovich
Aug 10 at 12:04


pom.xml









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard