[ https://issues.apache.org/jira/browse/VELOCITY-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Brisson resolved VELOCITY-878. ------------------------------------- Resolution: Invalid Assignee: Claude Brisson The doc should be updated, because ExtendedProperties is *still* needed if one uses the following deprecated method: setConfiguration(ExtendedProperties) But it doesn't seems to be the case here. The problem is that there must be some old velocity jar somewhere in your classpath. The only version in which ExtendedProperties is referenced at line 175 of RuntimeInstance is 1.6.4. > commons collections is required at run time > ------------------------------------------- > > Key: VELOCITY-878 > URL: https://issues.apache.org/jira/browse/VELOCITY-878 > Project: Velocity > Issue Type: Bug > Components: Engine > Affects Versions: 2.0 > Reporter: Mary Helm > Assignee: Claude Brisson > > The Velocity upgrading page states that •commons-lang, commons-collections > and commons-logging aren't needed any more at runtime. > However, commons collections is still required. Here is the error received > when using the latese version (4.1) of commons-collections jar: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/commons/collections/ExtendedProperties > at > org.apache.velocity.runtime.RuntimeInstance.<init>(RuntimeInstance.java:175) > at org.apache.velocity.app.VelocityEngine.<init>(VelocityEngine.java:60) > ... > ... > Caused by: java.lang.ClassNotFoundException: > org.apache.commons.collections.ExtendedProperties > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org For additional commands, e-mail: dev-h...@velocity.apache.org