NoClassDefFound启动WebLogic Server时出错

时间:2014-02-05 01:51:16

标签: java weblogic noclassdeffounderror

当我尝试启动WLS时,我遇到了大量错误。我转到目录/ Users / User_JP / Oracle / Middleware / user_projects / domains / JP_Domain,然后输入“sh startWebLogic.sh”并开始运行。 (注意:前几天我试过了它,但是几天前......)

然后在中间我点击:

Exception in thread "main" java.lang.NoClassDefFoundError: com/bea/logging/BaseLogEntry

 at java.lang.ClassLoader.defineClass1(Native Method)

 at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

 at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

 at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

 at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

 at java.lang.ClassLoader.defineClass1(Native Method)

 at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

 at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

 at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

 at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

 at weblogic.logging.MessageLogger.log(MessageLogger.java:62)

 at weblogic.logging.MessageLogger.log(MessageLogger.java:111)

 at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:52)

 at         weblogic.security.SecurityLogger.logDisallowingCryptoJDefaultJCEVerification(SecurityLogger.java:13444)

 at weblogic.security.utils.SecurityUtils.turnOffCryptoJDefaultJCEVerification(SecurityUtils.java:81)

 at weblogic.Server.main(Server.java:70)

Caused by: java.lang.ClassNotFoundException: com.bea.logging.BaseLogEntry

 at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

 ... 28 more

有什么想法吗?谢谢!

1 个答案:

答案 0 :(得分:0)

您使用的是哪个版本的weblogic?你有weblogic的java吗?首次运行您的weblogic,请尝试从domain-> my_doamin-> bin-> ./ startWeblogic.sh&

运行