2 Replies Latest reply on Feb 9, 2006 3:38 PM by epbernard

    Packaging Session and Entity-Beans

    evildrow79

      Hi!

      I have a small problem packaging an EAR file for my EJB3 application: I have a session bean in a session-ejb3.jar importing an entity bean from a file entity-ejb3.par. Both files have a Manifest.mf entry "Class-Path: session-ejb3.jar entity-ejb3.par". However, when I deploy the EAR file containing the jar and par file, I get a NoClassDefFoundError. Should I put the session beans also into the par file? Wouldn't this be against the sense of a PAR? What other way exists to make the entity bean known to the session bean?

      Thanks a lot in advance,
      Bjoern