5 Replies Latest reply: Nov 1, 2011 2:35 PM by 897324 RSS

    weblogic.application.ModuleException: java.lang.NoClassDefFoundError -

    674474
      Hi
      I receive a problem when deploying a resource adapter - but it is not very informative on where to look for the problem
      weblogic.application.ModuleException: java.lang.NoClassDefFoundError
      at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:217)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
      at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
      at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
      Caused by: java.lang.NoClassDefFoundError
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:242)
      at weblogic.connector.outbound.RAOutboundManager.initializeMCF(RAOutboundManager.java:485)
      at weblogic.connector.outbound.RAOutboundManager.createConnectionFactory(RAOutboundManager.java:440)
      at weblogic.connector.outbound.RAOutboundManager.initialize(RAOutboundManager.java:385)
      at weblogic.connector.outbound.RAOutboundManager.<init>(RAOutboundManager.java:116)
      at weblogic.connector.common.RAInstanceManager.initialize(RAInstanceManager.java:1181)
      at weblogic.connector.common.RAInstanceManager.<init>(RAInstanceManager.java:343)
      at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:178)


      usually ClassDefNotFoundError would mention which class it has a problem with - but in this case nothing .