Menu

exception creating EJBTestModule new Instance

2010-03-15
2013-04-15
  • Nobody/Anonymous

    Hi,

    I'm using JUnit 4 and did not extend JMSTestCaseAdapter.
    I tried both :
    1. ejbModule = jmsFactory.createEJBTestModule();
    2. ejbModule  = new EJBTestModule(new  EJBMockObjectFactory());
    I get the following exception :
    java.lang.NoClassDefFoundError: org/mockejb/BasicEjbDescriptor
    Am I missing something? Please let me know

     
  • Nobody/Anonymous

    Please add all third-party dependencies to the classpath, including mockejb.jar

     

Log in to post a comment.

MongoDB Logo MongoDB