Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2517

Wrong exception reported for duplicate classpath resource

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      Trying to work around a bug in Grid, I copied the Grid.tml file from the tapestry-core jar into my project into the same package.
      When Tapestry tries to load the resource, I get an exception that says java.io.IOException: Cannot open a steam for a resource that references a directory inside a JAR file (jar:file:/home/jochen/.gradle/caches/modules-2/files-2.1/org.apache.tapestry/tapestry-core/5.4-rc-1/94f01ef2bc48c66a8927cd814c885d218caab3fe/tapestry-core-5.4-rc-1.jar!/org/apache/tapestry5/corelib/components/Grid.tml). This is not correct.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jkemnade Jochen Kemnade
                Reporter:
                jkemnade Jochen Kemnade
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: