[jboss-jira] [JBoss JIRA] (WFLY-13067) Cannot load properties from servlet classpath

Thomas Diesler (Jira) issues at jboss.org
Thu Feb 6 04:31:00 EST 2020


Thomas Diesler created WFLY-13067:
-------------------------------------

             Summary: Cannot load properties from servlet classpath
                 Key: WFLY-13067
                 URL: https://issues.redhat.com/browse/WFLY-13067
             Project: WildFly
          Issue Type: Bug
          Components: Web (Undertow)
            Reporter: Thomas Diesler
            Assignee: Flavia Rainone


With the latest master I can no longer load resources from

```
        ClassLoader loader = SimpleServlet.class.getClassLoader();
        URL propsA = loader.getResource("/psetA.properties");
```

nor from

```
        ClassLoader loader = SimpleServlet.class.getClassLoader();
        URL propsA = loader.getResource("/WEB-INF/psetA.properties");
```




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list