[mapserver-users] catalina.bat on sysdeo
Flavio Souza
flsolu at gmail.com
Mon Jan 11 11:17:32 PST 2010
Hello , my name is Flávio
I have a question
I try run the servlet HelloServlet
public class HelloServlet extends HttpServlet {
public void doGet (HttpServletRequest req,
HttpServletResponse res)
throws ServletException, IOException
{
try
{
-> System.loadLibrary("mapscript");
System.err.println("Loaded the Mapscript library");
}
catch (UnsatisfiedLinkError e)
{
e.printStackTrace();
}
// mapscript
mapObj map;
map = new mapObj ("third.map");
I get the following error: at System.loadLibrary("mapscript"); *
java.lang.UnsatisfiedLinkError:
C:\ms4w\Apache\cgi-bin\mapscript\java\mapscript.dll: Can't find
dependent libraries
java.lang.ClassLoader$NativeLibrary.load(Native Method)
java.lang.ClassLoader.loadLibrary0(Unknown Source)
java.lang.ClassLoader.loadLibrary(Unknown Source)
java.lang.Runtime.loadLibrary0(Unknown Source)
java.lang.System.loadLibrary(Unknown Source)
edu.umn.gis.mapscript.mapscriptJNI.<clinit>(mapscriptJNI.java:23)
edu.umn.gis.mapscript.mapObj.<init>(mapObj.java:275)
HelloServlet.doGet(HelloServlet.java:30)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
i am use sysdeo tomcat , and i am not know what i do
thanks in advance
Flávio souza
_______________________________
(021) 7629-4249
More information about the MapServer-users
mailing list