And the CRUD example has been rewritten to use the latest S2 version https://issues.apache.org/jira/browse/WW-3993
2014/1/13 Lukasz Lenart <lukaszlen...@apache.org>: > 2014/1/11 Chris <christal...@yahoo.fr>: >> java.lang.reflect.InvocationTargetException - Class: >> com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector >> File: ContainerImpl.java >> Method: inject >> Line: 301 - com/opensymphony/xwork2/inject/ContainerImpl.java:301:-1 >> at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:501) >> at >> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193) > > First the FilterDispatcher is deprecated, use on of the new filters. > >> Caused by: java.lang.IllegalArgumentException: Javassist library is missing >> in classpath! Please add missed dependency! >> at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:168) >> ... 63 more >> Caused by: java.lang.ClassNotFoundException: javassist.ClassPool >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:169) >> at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:165) >> ... 63 more > > Have you added Javassist library? > >> 11 janv. 2014 10:54:14 org.apache.catalina.core.StandardContext filterStart >> GRAVE: Exception au démarrage du filtre struts2 >> java.lang.reflect.InvocationTargetException - Class: >> com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector >> File: ContainerImpl.java >> Method: inject >> Line: 301 - com/opensymphony/xwork2/inject/ContainerImpl.java:301:-1 >> at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:501) >> at >> org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) >> at >> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) > > Do you use two different filters to init the framework? > > And it's 10 times better to use some tool to manage dependencies > (Maven) instead solving that manually. > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org