2 Replies Latest reply on Jan 9, 2004 12:02 PM by stanimir

    Problem with classloader in JBOSS

    stanimir Newbie

      Hi guys,

      I have deployed an EAR containing 2 EJBs.
      One of the EJB uses a third party jar which is in the lib directory of the EAR.
      This third party jar uses Hibernate.jar which is in the lib directory of my EAR as well.

      The two third party jars are referenced in the MANIFEST.mf file of my EAR.
      The problem is that JBOSS could not find a class from the Hibernate.jar
      which is used in the other third party jar and I see :
      java.lang.NoClassDefFoundError: net/sf/hi

      I tried to put the 2 third party jars in the lib directory of the server/default/ but the result is the same.

      Has anybody an idea how this problem could be solved???

      Thank you very much.