1

Hallo, ich benutze Maven Multi-Modul-Projekt und Google Cloud-Endpunkte als API-Management ich bin in der Lage, die Anwendung mit Appengine Devserver erfolgreich ausführen, aber wenn ich es an appeengine seine Shows Fehler wie bereitstellen.Google App Engine Endpoint mit multi-Modul Maven-Anwendung

 
java.lang.IllegalArgumentException: Environment variable 'ENDPOINTS_SERVICE_NAME' is not set 
    at com.google.api.config.ServiceConfigSupplier.get(ServiceConfigSupplier.java:99) 
    at com.google.api.config.ServiceConfigSupplier.get(ServiceConfigSupplier.java:47) 
    at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:199) 
    at com.google.api.config.ServiceConfigFetcher.fetch(ServiceConfigFetcher.java:40) 
    at com.google.api.control.ServiceManagementConfigFilter$1.load(ServiceManagementConfigFilter.java:33) 
    at com.google.api.control.ConfigFilter.init(ConfigFilter.java:87) 
    at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) 
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) 
    at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) 
    at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) 
    at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) 
    at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) 
    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) 
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) 
    at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:206) 
    at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:179) 
    at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:136) 
    at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:504) 
    at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:446) 
    at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:453) 
    at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:276) 
    at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:312) 
    at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:304) 
    at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:450) 
    at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:235) 
    at java.lang.Thread.run(Thread.java:745) 

Antwort