1 Reply Latest reply on Oct 17, 2011 5:53 AM by tfromm

    Avoid ClassNotFound for optional libs inside .war

    tfromm

      Hi,

       

      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?

       

       

      --tf