1

我需要适用于 OS Linux 的功能性 wsadmin 脚本。我想将我的应用程序从 linux 部署到远程 WAS 服务器。我到处寻找,但我发现了同样的错误脚本。

我当前的脚本以异常结尾:

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

提前致谢

4

0 回答 0