Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1487

Unable to read nested resource in WAR archive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Alpha2
    • None
    • Web (Undertow)
    • None

      Unable to retrieve resources which are nested in additional directory in META-INF. The same works for JAR, only for WAR archive it doesn't.

      Example:
      If in WAR archive I have a resource in META-INF/properties/nested.properties, I am unable to access it using

      classLoader.getResource("META-INF/properties/nested.properties");
      

              dlloyd@redhat.com David Lloyd
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: