Forum Stats

  • 3,826,761 Users
  • 2,260,705 Discussions
  • 7,897,072 Comments

Discussions

Unable to start the project in weblogic

Sky_Lau
Sky_Lau Member Posts: 2
edited Sep 15, 2019 5:23PM in Enterprise Pack for Eclipse

I am new to weblogic and eclipse.I am using Photon (4.8) and installed weblogic 12.2.1.3. However, there is some errors and it make the project cannot be built.

Do you guys have any ideas about this issue?

java.lang.ClassNotFoundException: locationwebs.types.basic.TxLogjava.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:193)at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:532)at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1486)at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:944)at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:735)at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:584)at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:355)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)Caused by: java.lang.ClassNotFoundException: locationwebs.types.basic.TxLogat weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)at weblogic.work.ContextWrap.run(ContextWrap.java:46)at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670)at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)Caused by: java.lang.ClassNotFoundException: locationwebs.types.basic.TxLogat weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:496)at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:473)at java.lang.Class.getDeclaredMethods0(Native Method)at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)at java.lang.Class.getDeclaredMethods(Class.java:1975)at weblogic.ejb.container.metadata.EjbAnnotationProcessor.processAsyncMethods(EjbAnnotationProcessor.java:1022)at weblogic.ejb.container.metadata.EjbAnnotationProcessor.processSessionAnnotations(EjbAnnotationProcessor.java:656)at weblogic.ejb.container.metadata.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:248)at weblogic.ejb.container.metadata.EjbDescriptorReaderImpl.processAnnotations(EjbDescriptorReaderImpl.java:364)at weblogic.ejb.container.deployer.EJBMetadataHandler.processAnnotations(EJBMetadataHandler.java:164)at weblogic.ejb.container.deployer.EJBMetadataHandler.processAnnotations(EJBMetadataHandler.java:157)at weblogic.ejb.container.deployer.EJBModule.processAnnotations(EJBModule.java:175)at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:370)at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:295)at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:285)at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:109)at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)at weblogic.application.utils.StateMachineDriver.nextStateInParallel(StateMachineDriver.java:144)at weblogic.application.internal.flow.ModuleStateDriver.parallelPrepare(ModuleStateDriver.java:46)at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:75)at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:729)at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:241)at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:66)at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:229)at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:103)at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:242)at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:800)at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1352)at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:270)at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:177)at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:186)at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:14)at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)... 8 more

Answers

  • Sky_Lau
    Sky_Lau Member Posts: 2
    edited Aug 13, 2019 5:03AM

    Now the error message is change, The missing class change to "org.slf4.Logger"

    java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.

    at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:193)

    at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:532)

    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1486)

    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:944)

    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:735)

    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:584)

    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)

    at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)

    at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:355)

    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)

    Caused by: weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.slf4j.Logger

    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)

    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)

    at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)

    at weblogic.application.utils.StateMachineDriver.nextStateInParallel(StateMachineDriver.java:144)

    at weblogic.application.internal.flow.ModuleStateDriver.parallelPrepare(ModuleStateDriver.java:46)

    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:75)

    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)

    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:729)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)

    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:241)

    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:66)

    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)

    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:229)

    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:103)

    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:242)

    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:800)

    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1352)

    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:270)

    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:177)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:186)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:14)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)

    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670)

    at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)

    at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)

    at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)

    at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)

    at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)

    Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger

    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)

    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)

    at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)

    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)

    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:496)

    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:473)

    at java.lang.Class.getDeclaredFields0(Native Method)

    at java.lang.Class.privateGetDeclaredFields(Class.java:2583)

    at java.lang.Class.getDeclaredFields(Class.java:1916)

    at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1047)

    at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1054)

    at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1041)

    at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:145)

    at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:47)

    at weblogic.servlet.internal.WebAnnotationProcessor.processJ2eeAnnotations(WebAnnotationProcessor.java:707)

    at weblogic.servlet.internal.AnnotationProcessingManager.processListeners(AnnotationProcessingManager.java:268)

    at weblogic.servlet.internal.AnnotationProcessingManager.processAnnotationsInWebXml(AnnotationProcessingManager.java:230)

    at weblogic.servlet.internal.AnnotationProcessingManager.processAnnotations(AnnotationProcessingManager.java:131)

    at weblogic.servlet.internal.AnnotationProcessingManager.processAnnotations(AnnotationProcessingManager.java:105)

    at weblogic.servlet.internal.WebAppModule.processAnnotations(WebAppModule.java:1995)

    at weblogic.servlet.internal.WebAppModule.processAnnotations(WebAppModule.java:1957)

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:802)

    at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:295)

    at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:285)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)

    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:109)

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown
    edited Sep 15, 2019 5:23PM

    Use the latest Oracle Enterprise Pack for Eclipse (12.2.1.9) which is based on Photon instead of using Eclipse Photon directy. OEPE is designed to be used with WebLogic server.

    https://www.oracle.com/tools/downloads/oepe-v12219-downloads.html