Description
[trace] ***********************************************************
********
[debug] Starting Apache Velocity v1.5 (compiled: 2007-02-22 08:52:29)
[trace] RuntimeInstance initializing.
[debug] Default Properties File: org\apache\velocity\runtime\defaults\velocity.
properties
[debug] Trying to use logger class org.apache.velocity.runtime.log.Log4JLogChut
e
[debug] Couldn't find class org.apache.velocity.runtime.log.Log4JLogChute or ne
cessary supporting classes in classpath.
org/apache/log4j/Layout
java.lang.NoClassDefFoundError: org/apache/log4j/Layout
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.apache.velocity.util.ClassUtils.getClass(ClassUtils.java:76)
at org.apache.velocity.util.ClassUtils.getNewInstance(ClassUtils.java:95
)
at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.
java:147)
We can get around this issue by replacing the org.apache.velocity.runtime.log.Log4JLogChute with
org.apache.velocity.runtime.log.Log4JLogChute, and also need to update the Servicemix Velocity bundle to 1.6.
Attachments
Issue Links
- depends upon
-
SMX4-261 add Velocity 1.6.2 Bundle
- Resolved