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
  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 >
  2. 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 >

    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