2 Replies Latest reply on Mar 16, 2012 2:15 PM by fabiomiranda

    Using a Client JAR file to expose classes to WAR

    fabiomiranda

      Hi,

       

           I have the following issue deploying my App:

       

           I have a Core EAR app which has the business classes (EJBs, JMS, etc)... the common classes are placed in a common xxx-client.jar to be used by the WAR (it used to be inside WEB-INF/lib). But when I migrate from jboss6 to JBoss AS 7.1.1, I'm facing a lot of exception telling me the classes werent found... threw load() exception: java.lang.ClassNotFoundException: petstore.exception.StoreException from [Module "deployment.PetStoreWeb.war:main" from Service Module Loader]

       

           I guess that the WAR app is not charging the classes available in the XXX-client.jar placed into the WEB-INF/lib folder inseide the WAR.

       

           Someone had faced this problem?

       

      Cheers,

       

      Fabio