SpringBoot application can be deployed to Google Flex App Engine.
But when I try to deploy to Google Standard App Engine, an exception will be thrown out:
[INFO] GCLOUD: 2018-06-11 23:04:06.517:WARN:oeja.ClassInheritanceHandler:qtp249515771-16: [INFO] GCLOUD: java.lang.NullPointerException [INFO] GCLOUD: at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) [INFO] GCLOUD: at org.eclipse.jetty.annotations.ClassInheritanceHandler.addToInheritanceMap(ClassInheritanceHandler.java:72) [INFO] GCLOUD: at org.eclipse.jetty.annotations.ClassInheritanceHandler.handle(ClassInheritanceHandler.java:58) [INFO] GCLOUD: at org.eclipse.jetty.annotations.AnnotationParser$MyClassVisitor.visit(AnnotationParser.java:476) [INFO] GCLOUD: at org.objectweb.asm.ClassReader.accept(ClassReader.java:650) [INFO] GCLOUD: at org.objectweb.asm.ClassReader.accept(ClassReader.java:525) [INFO] GCLOUD: at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:978) [INFO] GCLOUD: at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:958) [INFO] GCLOUD: at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:902) [INFO] GCLOUD: at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851) [INFO] GCLOUD: at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163) [INFO] GCLOUD: at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:546) [INFO] GCLOUD: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [INFO] GCLOUD: at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [INFO] GCLOUD: at java.lang.Thread.run(Thread.java:748) [INFO] GCLOUD: 2018-06-11 23:04:06.669:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=1717ms
The example I took is from here.
pom.xml
orappengine-web.xml
? Please, do provide those files (with any possible private information sanitised, of course) to see if there is any mistake. This repository works out of the box, so, there shouldn't by any problem. – Mangu