关于java中调用C++组件的问题,还请各位大虾指教
GBE 2003-03-12 09:20:10 现在有一个C++写的RemoteRobot.dll,我的代码如下:
package com.ttt;
public class TestDll {
static
{
System.loadLibrary("RemoteRobot.RobotControl");
}
public native static boolean Connect(String s, int i);
public native static boolean Disconnect();
public static void main(String[] args)
{
TestDll test = new TestDll();
test.Connect("127.0.0.1",800);
}
}
运行时出现如下错误:
Could not find D:/jakarta-tomcat-4.0.1/jakarta-tomcat-4.0.1/lib/jasper-compiler.jar to copy to WebApp <Default WebApp>; file is defined as element of library ser
D:/jakarta-tomcat-4.0.1/jakarta-tomcat-4.0.1/lib/jasper-compiler.jar (The system cannot find the file specified)
请问是什么原因啊,谢了。