I am porting a WebWork application over to Struts2.  I have added a
dependency to struts2-core to my Maven POM.
<dependency>
  <groupId>org.apache.struts</groupId>
  <artifactId>struts2-core</artifactId>
  <version>2.0.9</version>
</dependency>

In my struts.xml I extend struts-default.  When I try and start my
application I get a ClassDefNotFoundException.  Is Velocity required
when extending struts-default?  This was not the case in WW where
Freemaker was always the default.  If it is required is there a reason
it is not a dependency in the struts-core POM?

2007-09-24 13:14:06.993::WARN:  Error starting handlers
java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2291)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to