This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
我尝试从CCS脚本控制台外部加载DSS脚本,并遇到一些问题。 我正在Rhino 1.7 上运行,当我尝试加载脚本时收到以下消息:
严重:无法连接到DebugServer。 未找到路径:'/Users/bin' 严重:无法启动服务器:DebugServer.1:无法连接到DebugServer。 未找到路径:'/Users/bin' org.mozilla.javascript.WrappedException:包装的com.ti.ccStudio.scripting.environment.ScriptingException:无法启动服务器:DebugServer.1:无法连接到DebugServer。 未找到路径:'/Users/bin'
这个目录不存在,所以我创建了它,再次运行它,它加载libti_xpcom.dylib失败。 我在 <install_directory>/ccsv6/cs_base/DebugServer/bin中找到了此文件 ,因此我将此目录复制到/users/bin。 现在我收到以下错误消息:
线程"main" java.lang.UnsatisfiedLinkError:/Users/bin/libti_xpcom.dylib: dlopen(/users/bin/libti_xpcom.dylib, 1):未加载库:@rpath/libti_logger.dylib 引用自:/users/bin/libti_xpcom.classlibilib.* 未找到原始加载库(未找到)
此脚本通过运行 loadJSFile filename.js从CCS脚本控制台运行。
从Java调用.js脚本的最佳方式是什么?
我正在尝试通过在终端上键入以下命令从Rhino shell加载脚本:
java org.mozilla.javascript.tools.shell.Main filename.js
感谢您为我指明正确的方向。 我遇到此错误的另一个原因是我在/Library/Java/Extensions目录中有一些垃圾邮件