如何在谷歌雲平臺上連接mlab?我得到錯誤..如何在谷歌雲平臺上連接Mlab?
從servlet未捕獲的異常 java.lang.NoClassDefFoundError:java.lang.management.ManagementFactory是一個受限制的類。有關更多詳細信息,請參閱Google App Engine開發人員指南。 at com.google.apphosting.runtime.security.shared.stub.java.lang.management.ManagementFactory。(ManagementFactory.java) at org.springframework.context.support.LiveBeansView.registerApplicationContext(LiveBeansView.java:65) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:779) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:485) at org.springframework.web.context.ContextLoader .configureAndRefreshWebApplicationContext(ContextLoader.java:403) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) 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) 在org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) 在com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:203) 在com.google.apphosting.runtime。 jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:176) at com.google.apphosting.runtime.jetty .JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:133) at com.google.apphosting.runtime.JavaRuntime $ RequestRunnable.run(JavaRuntime.java:511) 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:274) 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.goog le.apphosting.runtime.ThreadGroupPool $ PoolEntry.run(ThreadGroupPool.java:235) at java.lang.Thread.run(Thread.java:745)
'mlab'可能意味着很多事情,因此您需要擴展您的問題並提供更多信息。 –