My Oracle Support Banner

管理服务器启动失败抛出异常 java.lang.NoClassDefFoundError: weblogic/Server (Doc ID 2129746.1)

Last updated on JULY 21, 2020

适用于:

Oracle WebLogic Server - 版本 8.1 和更高版本
本文档所含信息适用于所有平台

症状

WebLogic 管理服务器启动失败,抛出如下异常信息。

>Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
Caused by: java.lang.ClassNotFoundException: weblogic.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: weblogic.Server. Program will exit.


原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


文档内容
症状
原因
解决方案
参考

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.