embeddable EJB container of WebSphere 8 can not created - NoClassDefFoundError HpelHelper
问题 I am using the embeddable EJB container of WebSphere 8 to write some unit tests for my EJBs with JUnit4. My IDE is the RAD 8. Here is my simple test code snippet: Map properties = new HashMap(); properties.put(EJBContainer.PROVIDER, "com.ibm.websphere.ejbcontainer.EmbeddableContainerProvider"); EJBContainer ec = EJBContainer.createEJBContainer(properties); I get a NoClassDefFoundError: java.lang.NoClassDefFoundError: com/ibm/ejs/ras/hpel/HpelHelper at com.ibm.ejs.ras.RasHelper.getThreadId