我试图使用WLST解释器在java中嵌入WLST脚本 . 但是我遇到以下错误:
Exception in thread "main" java.lang.RuntimeException: error in finding
weblogic.Home at weblogic.Home.getInstance(Home.java:91) at
weblogic.Home.getPath(Home.java:97) at weblogic.Home.getFile(Home.java:102) at
weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:116) at
weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:76) at
weblogic.management.scripting.utils.WLSTUtil.ensureInterpreter(WLSTUtil.java:157) at
client.WLSTWrapper.doSomething(WLSTWrapper.java:19) at
client.WLSTWrapper.main(WLSTWrapper.java:13)
任何帮助都感激不尽 .
1 回答
确保weblogic.jar在您的类路径中 . 如果是,但您仍然遇到问题,请尝试在启动脚本中添加如下所示的java选项: