I am trying to inject instance of class "SaveCardInfoDAO" into ejb method "insertCardInfo". Following are the code snippets.
Controller (Stateless session bean) in Project 1
ApplicationUtil class (that initializes the Application context) required in above code is in Project 2.
applicationContext.xml is in Project2
SaveCardInfoDAO class whose instance is to be inserted in the first code snippet is in Project 3.
Project 1 has dependency on project 2 and project 3.
Project 3 has dendency on Project 2.
I am using Eclipse and all these projects are eclipse projects.
When I run my client this gives me following error.
javax.ejb.EJBTransactionRolledbackException: EJB Exception: : java.lang.NoClassDefFoundError: com/fedex/ccs/util/ApplicationUtil
at com.fedex.ccs.ejb.session.Controller.insertCardInf o(Controller.java:44)
Please help me resolve this issue. Let me know if you need something else.