java.lang.NoSuchFieldError: VERSION_2_3_0& u8 f& w) M. @0 t1 q/ X
at org.apache.struts2.views.freemarker.FreemarkerManager.createConfiguration(FreemarkerManager.java:331)8 _! C. \8 J8 ^$ U
at org.apache.struts2.views.freemarker.FreemarkerManager.init(FreemarkerManager.java:282) ) I2 o u! I& e, f at org.apache.struts2.views.freemarker.FreemarkerManager.getConfiguration(FreemarkerManager.java:269) ( ~! y3 [) A6 p- w7 y* b at org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler.init(DefaultDispatcherErrorHandler.java:47) 0 G% B9 {) {' x) _& L8 ^ at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:488) 6 k4 T) a, j$ C" J# s at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)7 I. x" {3 \) ?6 E8 |
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)% V0 N4 h. _; P; [+ V& t% @# v
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) ! O3 C9 Z" o6 C8 {4 ? z2 b, U6 T at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)# T) `& X) w% E+ ^! @7 a4 i4 k
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) - m! T! f: N5 P/ C: V0 ? at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746) / p& |: J/ h: Y! \+ S, T; p; Y at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399)( k+ r1 x0 _7 u/ n. Z: E1 [
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) : {" L: [5 z* o L at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)) d) k9 k' p0 |' I1 E" w
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)4 x. e4 h; p( E' l/ Q
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)& ~( T ~. [' x/ M8 |
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)2 y+ q! j. K# Q: n/ Q
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672) @, a, e' v, n$ F& Y8 q
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) * `* e, t3 V- r2 g: q9 o at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) + X0 z2 R1 e3 ?# C( H& W5 F) B at java.util.concurrent.FutureTask.run(FutureTask.java:138) : @6 W1 D/ s" B, }4 G8 ` at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)4 g3 R4 c& H2 o$ j
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908): Y0 l2 M& F5 a) ]% F' w: M1 _0 }! r
at java.lang.Thread.run(Thread.java:619)2 V. z* C4 W! \- y( O- S2 q
3 X) L; f, h+ J4 n0 k
由于struts2 最近漏洞 进行了升级到2.3.28.1 但是没有升级相应的freemarker-2.3.23.jar 导致的。 0 C# F* r$ `. D# `- _, L- @' [( \