Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-5705

Doc: Namespace handlers cannot be located in classpath with INDEX.LIST is used in jar

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.6
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Namespace handlers cannot be located in classpath with INDEX.LIST is used in jar and running with "java -jar". If you build a jar file and index the classpath for it as recommended in the JAR file specification, the namespace handlers are only located from the first jar file in the list.

      Removing the INDEX.LIST from the jar file and using a Classpath: entry in the manifest instead works fine, as does running with "java -cp ..." (not using -jar).

        Attachments

          Activity

            People

            • Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              david_syer Dave Syer
              Last updater:
              Juergen Hoeller
            • Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 39 weeks ago