weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector
ps:
测试服务:weblogic12c、jdk1.8
开发环境:tomcat6.0、jdk1.8
1.报错信息
<Failed to initialize the application "demo" due to error weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector
weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector
at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:132)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:244)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
> 03娑00?7,638绉 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "demo".
weblogic.application.ModuleException: Module null can not be activated, not in ACTIVATED state: NEW
at weblogic.diagnostics.module.WLDFModule.activate(WLDFModule.java:328)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:212)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:207)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:57)
Truncated. see log file for complete stacktrace
2.解决方法
找到引用的jar包:cxf开头jar包删掉即可解决
3.原因
具体原因还未分析,一个个试出来的
哪位大神可以出来给补充解释一下。。。