java.lang.NoSuchFieldError: VERSION_2_3_0 W- @+ ?6 Y" W, [ D) Z$ o at org.apache.struts2.views.freemarker.FreemarkerManager.createConfiguration(FreemarkerManager.java:331) 5 V; X: ~- {8 L at org.apache.struts2.views.freemarker.FreemarkerManager.init(FreemarkerManager.java:282)2 \' M$ ^$ m8 X L3 D5 G% ?4 C( t# R
at org.apache.struts2.views.freemarker.FreemarkerManager.getConfiguration(FreemarkerManager.java:269) . Z- j( ~% o. k% E3 N at org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler.init(DefaultDispatcherErrorHandler.java:47) 9 t; u& v) d+ j9 | at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:488) $ x$ {9 o _9 V at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)% m5 w& M/ _; g; [/ x! B
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) 8 N: ~5 o. D6 \; Y- t8 {' x* Y) Z at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281); A7 n/ y% D2 L* f
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)( c! M3 Y9 V, x- ^) d. y& j
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) J6 w8 i- v( k0 \, @ at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)" ^1 O3 a3 O5 B S
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399) 9 v! C; E( R9 H at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)- a2 p+ ^, ^& x
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901), V, R/ N. _; C# u8 ~7 r l
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) 0 R, ]! o* c4 U( q at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)- ^; G# S( L: z6 @
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) 9 u9 Q9 o. ~. z! k/ T at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)) `5 [# Y0 Y$ G
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) ) H/ S; b$ \! q at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) & C/ g" r" x6 h# \' J, j5 q at java.util.concurrent.FutureTask.run(FutureTask.java:138)6 Z" a+ A" ]# j- g; J
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 5 F, R1 Y3 R( R- w4 F at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) / d) g2 H3 C/ Q1 d, G2 f/ c. N at java.lang.Thread.run(Thread.java:619) ' Q7 ?/ \2 `4 b ' i( x% @8 b4 S5 f由于struts2 最近漏洞 进行了升级到2.3.28.1 但是没有升级相应的freemarker-2.3.23.jar 导致的。 : o- X0 f/ R7 W' w, i% b5 N 4 H- h0 F, P I) m- J$ m