java.lang.NoSuchFieldError: VERSION_2_3_0$ ]9 h% E& x2 @5 u2 U F) T' X0 O, e
at org.apache.struts2.views.freemarker.FreemarkerManager.createConfiguration(FreemarkerManager.java:331) * X' L# H- H1 i% E1 e- ]9 ^) r1 { at org.apache.struts2.views.freemarker.FreemarkerManager.init(FreemarkerManager.java:282) ) ]% f j2 c- x at org.apache.struts2.views.freemarker.FreemarkerManager.getConfiguration(FreemarkerManager.java:269) 8 L: f: F0 z" ?: H, v at org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler.init(DefaultDispatcherErrorHandler.java:47) + x: i) m2 T+ C6 m, |/ A) f at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:488) 8 I) r k3 C2 x* [2 i5 J6 O: g, ] at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) $ {& @9 I; l: g. f+ d" B7 j at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) ' }4 G$ r- p4 j7 `2 [0 i. }: Q6 y: K at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)0 w3 {7 W& ?8 u" j+ T3 b3 S0 W) g
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) 9 {' \0 s# d0 | at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) 2 k1 v: s0 Y( ]8 J* A$ e: N% y. q at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746) 8 u5 u2 Q. z, ?) h0 r4 T at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399) `! P0 y, q- H9 X
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ( q2 V H d s1 h7 J) {, C8 d/ O/ O at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) - q4 R' g% d- [" ?* N! J: h at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) 7 O# k5 B' s0 g" V0 p at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) * {& d! [7 p* g$ p at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114), o3 ?" i) q% b, s, h3 q+ H8 W
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)8 F0 H: Q/ j, w* @- {0 o
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 2 G. A, T- A: a( N' N at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) . b4 ~' h5 n7 N& [" G' R at java.util.concurrent.FutureTask.run(FutureTask.java:138) 8 c @5 `/ y; |3 h at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)0 i6 M' ]8 f+ _( _4 L% u' {
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)/ o: R z9 ] T7 E4 b
at java.lang.Thread.run(Thread.java:619)7 i/ @* s; b- S" z" _. i+ w; m
; l) T- x& m3 q- e) ?
由于struts2 最近漏洞 进行了升级到2.3.28.1 但是没有升级相应的freemarker-2.3.23.jar 导致的。 4 h! H U6 `/ M. r# [4 G4 x# C9 T. ]( T7 m