3 Replies Latest reply on Feb 27, 2008 12:23 PM by pmuir

    OneToOne or ManyToOne on pac.kage.two.Classtwo references an unknown entity : pac.kage.one.Classone

    taccart.thierry.accart.name

      Hi


      I've build a Seam project with entity  pac.kage.one.Classone


      This entity is used by in another seam project, in entity pac.kage.two.Classtwo (for a ManyToOne relation)


      I thought that, importing projectone.jar and adding it in application.xml would be sufficient, but unfortunately,
      I obtain the exception
      @OneToOne or @ManyToOne on pac.kage.two.Classtwo references an unknown entity :  pac.kage.one.Classone


      I'm confused because when I merge all classe from pac.kage.one. in pac.kage.two.Classtwo's jar, it works.


      I really'd like to understand :-)