<dependency><groupId>dom4j</groupId><artifactId>dom4j</artifactId><version>1.4</version><scope>provided</scope></dependency> |
The above XML snippet prohibits the packaging of DOM4j in the Web-INF/lib. Since the jar files isn’t present Application’s lib thus it’s loaded by the Jboss classloader as it’s present in the JBoss’s lib.
Read full article from Maven Global dependency exclusion | Java Enterprise Ecosystem.
No comments:
Post a Comment