You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/12/09 11:52:59 UTC
[jira] [Commented] (VELOCITY-878) commons collections is required
at run time
[ https://issues.apache.org/jira/browse/VELOCITY-878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15735123#comment-15735123 ]
Michael Osipov commented on VELOCITY-878:
-----------------------------------------
I second that. Everything has been shaded correctly. More than that, the decompiled classes contained relocated imports.
> 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-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org