Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-878

commons collections is required at run time

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              claude Claude Brisson
              Reporter:
              mhelm1250 Mary Helm
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: