0 Replies Latest reply on Apr 2, 2014 12:03 PM by raghu1980

    JBOSS7 external jar with dependency on ear file

    raghu1980

      I am using JBOSS 7

      In my custom jar I am implementing an Interface. The interface is in a jar packaged with ECM.ear file. Unless I put my custom jar inside the web-inf/lib folder (of the war file located in ear file) I am getting ClassNotFoundException w.r.to the interface.

      I created a module for my custom jar but I don't how to set up a dependency with ear file. I copied the jar containing the interface say mdm.jar and placed it in the module and also added an entry in the resource root of module.xml. After restarting I am getting ClassNotFoundException for the classes referred by mdm.jar, which arein ear file.

      How to achieve this dependency?