How to filter classes and resources from jar files in a WAR/EAR on EAP 6
Issue
- How to exclude a class from being loaded using
jboss-deployment-structure.xmlin JBoss EAP 6?
Where the library is underWEB-INF/liband looking to exclude from the classloader. - How to exclude a common resource, existing in multiple libraries, from being loaded using
jboss-deployment-structure.xmlin JBoss EAP 6, where the libraries are bundled within aearand looking to exclude from the classloader?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.