java.lang.IllegalStateException: Failed to find ContainerDependencyMetaData Exception when deploying EAR with client module
Issue
- We created EAR file and trying deploy into the Jboss server, we are getting the following exception java.lang.IllegalStateException: Failed to find ContainerDependencyMetaData for interface: XYZLocal.
- This class is from ABC project, we don't want to add ABC.jar and want to add only client(ABC_Client.jar) to the EAR.
- We are trying to separate out local/remote business interfaces (EJB 2.1) in separate module(s) (as ABC_Client.jar).
- We have local references to EJBs and are trying to use above ejb client jar to refer to those EJBs.
Environment
- JBoss Enterprise Application Platform (EAP) 5.1.1
- Eclipse with WTP/XDoclet plugin to generate EJB 2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.