Phasejava.lang.NoClassDefFoundError

javax/ejb/SessionBean com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [claimservice] -- javax/ejb/SessionBean

Samebug tips1

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


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2846

  • via Unknown by rocky1988,
  • via Unknown by Unknown author,
  • Stack trace

    • Phasejava.lang.NoClassDefFoundError: javax/ejb/SessionBean com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [claimservice] -- javax/ejb/SessionBean at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390) at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358) at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:294) at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:207) at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223) Caused by: 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    mauritiusmauritius
    Once,
    junior_cEngineerjunior_cEngineer
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    165 more bugmates