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

Wrong exception reported for duplicate classpath resource

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.4
    • 5.4
    • tapestry-ioc
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment