struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject archetype and velocity
Date Thu, 26 Apr 2007 12:26:29 GMT
I just created an app using the archetype and when I run it with jetty
(maven) it complains:

java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
        at java.lang.Class.getDeclaredFields(Class.java:1743)

The sitemesh plugin(used in the generated app) depends on velocity,
shouldn't that dependency be loaded by maven?

musachy

-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message