I am developing a webservice and got following error.
Servlet.service() for servlet [Jersey RESTful App] in context with path [/RestWebService] threw exception [org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: javax/ejb/CreateException] with root cause
java.lang.ClassNotFoundException: javax.ejb.CreateException
As i am dealing with oim api so i have also added the wlfullclient.jar in class path. /WEB-INF/lib folder
.
After addling that jar also the exception is still there.
Download the JAR file from here j2ee-1.4.jar
Put it on your /WEB-INF/lib
folder. Add CLASSPATH
. Then restart server.