欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicati

程序员文章站 2022-06-25 21:45:08
...

1. issue description: I got exception when deploy my web application in weblogic server

 

java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
java.lang.ClassNotFoundException: oracle.mds.lcm.weblogic.WLLifecycleListener
java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener

Actually, even the em won't start in AdminServer becoz of this:
<Sep 23, 2011 12:47:40 PM SGT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'em' due to error weblogic.management.DeploymentException: .
weblogic.management.DeploymentException: 
        at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
        at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
        Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
        Truncated. see log file for complete stacktrace

 2. the missing class locates at: $WM_HOME\oracle_common\modules\oracle.jps_11.1.1\jps-wls.jar

 3. add the jar file to your weblogic classes path, then restart the weblogic server

 

相关标签: weblogic lib