Java.lang.UnsatisfiedLink... readHDSerialNo?
Question: how can i solve the problem
I put my file in WEB-INF\classes\jnid\native.dl...
and load the dll by below code nut still problem is same
System.setProperty("java.libra... "C:\Tomcat5 webbapps\ROOT\WEB-INF\classes\...
System.loadLibrary("Nativ");
also set path :-
set JAVA_OPTS=-Djava.library.path=...
set LD_LIBRARY_PATH=c:\Tomcat5\web...
java.lang.UnsatisfiedLinkError... readHDSerialNo
jnid.HDSerialNo.readHDSerialNo... Method)
jnid.HDSerialNo.<init>(HDSeria...
jnid.HDSerialNumber.<init>(HDS...
org.apache.jsp.test_jsp._jspSe...
org.apache.jasper.runtime.Http...
javax.servlet.http.HttpServlet...
org.apache.jasper.servlet.JspS...
org.apache.jasper.servlet.JspS...
org.apache.jasper.serv
Answer:
Problem description is not clear, are you deploying ur application in file system, or as WAR file?
If you are using file system, then include path till "jnid" or folder where your DLL is lying, in PATH variable, as below
set PATH=%PATH%;c:\Tomcat5\web...
LD_LIBRARY_PATH is to be used on *nix platforms, & PATH variable is to be used on windows. LD_LIBRARY_PATH variable's contents would not be useful on windows.
More Questions & Answers...