java.lang.NoSuchFieldError: VERSION_2_3_0 # V: b8 O; n2 u( o0 P at org.apache.struts2.views.freemarker.FreemarkerManager.createConfiguration(FreemarkerManager.java:331)& t7 q0 T( G7 i$ u- N6 B- G' K
at org.apache.struts2.views.freemarker.FreemarkerManager.init(FreemarkerManager.java:282)5 S% Y: O2 g9 K
at org.apache.struts2.views.freemarker.FreemarkerManager.getConfiguration(FreemarkerManager.java:269) : J8 H0 _& t4 \ at org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler.init(DefaultDispatcherErrorHandler.java:47) + c3 G# i! |$ \; Y at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:488)9 o! H0 h5 l1 Y, g
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) 1 }/ t% d6 o! ]) s at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)) |5 Q) u0 \ S7 w& G% Q5 z2 |* z; |
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)5 i6 l, [, Q, s' I* p
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) * }/ S( l# \" m& {9 ?+ U at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)$ U6 w& ^3 A+ ~7 c
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746) 8 \' n$ t+ \( p0 q: Q0 Y. p at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399) : _0 h4 ?$ O2 g% X, @$ S& n at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) , P) x: r5 ^5 N) `" l9 d+ u2 b at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) 3 o; I5 Y1 N) ^9 [6 Z0 u* k at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877). [. A. {1 G/ r( D" P- {) |
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)- G0 }. \! Q. S& o5 F2 C
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)& @8 m& m9 V7 I- X8 k. O6 e
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672) ' o/ x- f) O3 d" \2 f at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) ! r' t2 g1 N1 x5 S at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) ) _) C, A" r! j$ }3 h1 @2 I" } at java.util.concurrent.FutureTask.run(FutureTask.java:138) : I3 X' z s2 g( b) e9 s at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 6 R0 i+ }3 A, N7 r2 U& n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)$ d5 s' O; s9 ~0 {$ X6 l
at java.lang.Thread.run(Thread.java:619)+ O+ G# J6 `& z, [' B1 f4 m
3 T0 @: {* w3 O: A) B由于struts2 最近漏洞 进行了升级到2.3.28.1 但是没有升级相应的freemarker-2.3.23.jar 导致的。9 f( G% M; k! L, F* x. ^% S