4 Replies Latest reply on Sep 14, 2018 11:44 AM by Ilya Martynov

    stupid noobie question - trying to deploy ear

    Oblio Leitch Newbie

      I have a stupid question.  I'm trying to deploy a refactored ear that I've probably messed up.  I have a bunch of ejbs that depend on a main jar with most of the functionality.  In order to decouple, the main jar has the interfaces and the beans implement them (because the main jar also uses the - I have to break cyclic dependencies).  My problem is when I go to deploy, all the ejbs fail with this underlying error:

       

      `Caused by: java.lang.NoClassDefFoundError: Failed to link package/ejb/session/CheckManager/CheckManagerBean (Module "deployment.project-ear-1.0.0-SNAPSHOT.ear.package-CheckManagerEJB-1.0.0-SNAPSHOT.jar" from Service Module Loader): package/CheckManager/ICheckManager`

       

      I'm not really sure what's going on.  Is the ejb.jar trying to load and not finding the interface in the main.jar?  Or the other way around?  Does this scream anything obvious to anyone?