0

I have google app engine java project that run on google app engine server but when i try to run in local host i get this error

INFO] GCLOUD: INFO: Overwriting system property key 'java.util.logging.config.file', 
value '/Users/gallavie/Library/Application Support/google-cloud-tools-java/managed-cloud-sdk/LATEST/google-cloud-sdk/platform/google_appengine/google/appengine/tools/java/config/sdk/logging.properties' with value 'WEB-INF/logging.properties' from '/Users/gallavie/workspaces/eclipse/DarimpoServer/target/Darimpo-1.0/WEB-INF/appengine-web.xml'
[INFO] GCLOUD: java.lang.NullPointerException
[INFO] GCLOUD:  at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
[INFO] GCLOUD:  at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
[INFO] GCLOUD:  at java.base/java.util.Properties.put(Properties.java:1334)
[INFO] GCLOUD:  at java.base/java.util.Collections$CheckedMap.put(Collections.java:3701)
[INFO] GCLOUD:  at com.google.appengine.tools.development.SharedMain.setTimeZone(SharedMain.java:183)
[INFO] GCLOUD:  at com.google.appengine.tools.development.SharedMain.postServerActions(SharedMain.java:152)
[INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:384)
[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:243)
[INFO] GCLOUD:  at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:234)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.058 s
[INFO] Finished at: 2021-06-11T19:50:34+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:2.2.0:run (default-cli) on project Darimpo: Failed to run devappserver: com.google.cloud.tools.appengine.operations.cloudsdk.process.ProcessHandlerException: com.google.cloud.tools.appengine.AppEngineException: Non zero exit: 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
gallavie@Gals-MBP DarimpoServer % mvn clean package
[INFO] Scanning for projects...

i get this error when i run the project from eclipse or when i run "mvn appengine:run" command in cmd again the project work fine in real server how i can fix it thank you

user2320349
  • 109
  • 1
  • 9

0 Answers0