Hi,
Today I wanted update my small Apache Struts 2 project to the latest
version but after re-deploying the app I have got the below error, no idea
what's wrong :\ The listener just nulls the SecurityManager:
OgnlRuntime.setSecurityManager(null); Locally everything works just fine.
SDK version: 1.9.38
Apache Struts: 2.5.2
java.lang.NoClassDefFoundError: Could not initialize class ognl.OgnlRuntime
1.
1. at com.gruuf.web.InitListener.contextInitialized (
InitListener.java:20
<https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=1&file=com%2Fgruuf%2Fweb%2FInitListener.java&line=20&project=gruuf-webapp>
)
2.
1. at org.mortbay.jetty.handler.ContextHandler.startContext (
ContextHandler.java:548)
2. at org.mortbay.jetty.servlet.Context.startContext (Context.java:136
)
3. at org.mortbay.jetty.webapp.WebAppContext.startContext (
WebAppContext.java:1250)
4. at org.mortbay.jetty.handler.ContextHandler.doStart (
ContextHandler.java:517)
5. at org.mortbay.jetty.webapp.WebAppContext.doStart (
WebAppContext.java:467)
6. at org.mortbay.component.AbstractLifeCycle.start (
AbstractLifeCycle.java:50)
7. at com.google.apphosting.runtime.jetty.
AppVersionHandlerMap.createHandler (AppVersionHandlerMap.java:206)
8. at com.google.apphosting.runtime.jetty.
AppVersionHandlerMap.getHandler (AppVersionHandlerMap.java:179)
9. at com.google.apphosting.runtime.jetty.
JettyServletEngineAdapter.serviceRequest (
JettyServletEngineAdapter.java:136)
10. at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run (
JavaRuntime.java:469)
11. at com.google.tracing.
TraceContext$TraceContextRunnable.runInContext (TraceContext.java:439)
12. at com.google.tracing.TraceContext$TraceContextRunnable$1.run (
TraceContext.java:446)
13. at com.google.tracing.CurrentContext.runInContext (
CurrentContext.java:256)
14. at com.google.tracing.
TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref
(TraceContext.java:310)
15. at com.google.tracing.
TraceContext$AbstractTraceContextCallback.runInInheritedContext (
TraceContext.java:302)
16. at com.google.tracing.TraceContext$TraceContextRunnable.run (
TraceContext.java:443)
17. at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run (
ThreadGroupPool.java:235)
18. at java.lang.Thread.run (Thread.java:745)
19.
Regards
Łukasz
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/74810f5f-90ce-43d5-ac32-4949d2da1dbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.