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 >

Oracle Community | rocky1988 | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Very strange classpath issue

    Oracle Community | 8 years ago | rocky1988
    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 >

    Root Cause Analysis

    1. 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()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      2 frames