Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

Solutions on the web

via Oracle Community by rocky1988, 1 year ago
javax/ejb/SessionBean > com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [claimservice] -- javax/ejb/SessionBean >
java.lang.NoClassDefFoundError: javax/ejb/SessionBean	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)	at com.sun.appserv.server.util.ASURLClassLoader.loadClass(ASURLClassLoader.java:144)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at com.sun.appserv.server.util.ClassLoaderChain.loadClass(ClassLoaderChain.java:157)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at com.sun.appserv.server.util.ClassLoaderChain.loadClass(ClassLoaderChain.java:157)	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:238)	at com.sun.enterprise.deployment.EjbDescriptor.visit(EjbDescriptor.java:2058)	at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:734)	at com.sun.enterprise.deployment.Application.visit(Application.java:1754)	at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:470)	at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:366)