java.lang.NoSuchFieldError: VERSION_2_3_08 {4 g" E. R5 }7 n4 ^% O0 {' Q
at org.apache.struts2.views.freemarker.FreemarkerManager.createConfiguration(FreemarkerManager.java:331)6 w8 \# `2 i1 K9 D# O
at org.apache.struts2.views.freemarker.FreemarkerManager.init(FreemarkerManager.java:282) + N% _$ U; `. K+ T0 Y% U8 i at org.apache.struts2.views.freemarker.FreemarkerManager.getConfiguration(FreemarkerManager.java:269) + G( H: p: X7 X+ T" H9 R9 y at org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler.init(DefaultDispatcherErrorHandler.java:47)! j* H h4 J9 R+ {$ @! L! s' R
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:488). w# ` Q0 G0 o# [; U( d
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) " `3 j7 I8 e8 f O at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) 9 W. b" p, W% W+ z* Z at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) 3 X' v9 T$ p8 h( p at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)5 w/ |( b+ z# K
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) 2 Z! }. `+ B P7 C; E at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746) $ ~0 D' g( ^+ ?' y1 j6 ?* g at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399) # F1 O9 `8 d* x5 ^' W) | at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)) ]# t* A3 D) p
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) F. }2 ~6 y& g% z, u at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)) a/ I; [- e+ a# K1 s
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) $ \' r( V: Y* M3 a R/ [ at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) 0 ~. r) H5 W0 Y8 f5 m2 U at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)2 N! A! q" z3 w6 m( j
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)5 C+ @6 n$ `0 U( _
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) , C) t% @; k2 d( R7 ~/ l at java.util.concurrent.FutureTask.run(FutureTask.java:138) 7 \( J2 ?) b2 ~1 O at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) , j% h V a3 J at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)" e+ i- Z: b0 e" A+ O. h A
at java.lang.Thread.run(Thread.java:619) 0 r, b* C" t, O/ l ?+ p8 { S5 d5 u) c5 k8 g由于struts2 最近漏洞 进行了升级到2.3.28.1 但是没有升级相应的freemarker-2.3.23.jar 导致的。 # Y/ }: g" Y9 D; } i( K/ `( _ 3 g+ D- g' G+ ]% S3 l! `