Issues with loading resources from jar file using class loader in JBoss EAP
Issue
- We are moving from JBoss EAP 4.3 to 6.2.3. We are facing an issue with resource loading. We had some code already which was loading an image using the following. The same application seems to work on a Windows system but not a Unix system.
this.getClass ( ).getClassLoader ( ).getResourceAsStream ( image );
Environment
Red Hat JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.