运行weblogic脚本作业时出现以下错误。
由java.lang.NoClassDefFoundError引起的Weblogic服务器问题
日志:
2.9.1.jar:/bea/track62600/wlserver/server/lib/weblogic.jar:/bea/track62700/apps/MaestroWS/config/:/bea/track62700/apps/MaestroWS/lib/
[ant:wlst] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/i18n/logging/BaseTextFormatter
[ant:wlst] at java.lang.ClassLoader.defineClass1(Native Method)
[ant:wlst] at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
[ant:wlst] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[ant:wlst] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[ant:wlst] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[ant:wlst] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[ant:wlst] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[ant:wlst] at java.security.AccessController.doPrivileged(Native Method)
[ant:wlst] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[ant:wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ant:wlst] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[ant:wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ant:wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.<init>(WLSTInterpreterInvoker.java:34)
[ant:wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLSTInterpreterInvoker.java:37)
[ant:wlst] Caused by: java.lang.ClassNotFoundException: weblogic.i18n.logging.BaseTextFormatter
[ant:wlst] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[ant:wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ant:wlst] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[ant:wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ant:wlst] ... 14 more
:WLST_Execute FAILED
:WLST_Execute (Thread[Task worker,5,main]) completed. Took 1.38 secs.
FAILURE: Build failed with an exception.