1 Reply Latest reply: Oct 17, 2011 5:53 AM by Thomas Fromm RSS

Avoid ClassNotFound for optional libs inside .war

Thomas Fromm Newbie



I've got a .war which contains .class files which uses additional 3rd party libs, which are not nessesary available inside this installation.

When I deploy my app to JBoss 7, the Module Class Loader scanns all .class files and runs into ClassNotFoundExceptions.

Normally these classes are only loaded when used...


How can I avoid this behaviour of JBoss 7?