Details
-
New Feature
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
6.0.0
-
None
Description
We are getting a java.lang.NoClassDefFoundError, when using the SiteMesh plugin. Adding the Velocity plugin to the class path fixes the problem for us.
Here is a stacktrace:
java.lang.NoClassDefFoundError: org/apache/struts2/views/velocity/VelocityManager at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2729) at java.lang.Class.getDeclaredMethods(Class.java:2003) at com.opensymphony.xwork2.inject.ContainerImpl.injectStatics(ContainerImpl.java:97) at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:632) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:209) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:65) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:1035) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:516) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:549) at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:44) at org.apache.struts2.dispatcher.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:53) ...
Attachments
Issue Links
- links to