开发用的是Eclipse和tomcat,工程为web工程。
报错页面内容为:
HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Filter execution threw an exception
root cause java.lang.UnsatisfiedLinkError: ProcessUrlJ
QMapLJni.ProcessUrlJ(Native Method)
a.doFilter(Unknown Source) 控制台报的错误内容为 信息: http://192.168.1.29:8080/xinneng_web/t.jsp
Can't find library QMapLServer.DLL
java.lang.UnsatisfiedLinkError: no QMapLServer in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at QMapLJni. <clinit>(Unknown Source)
at a.doFilter(Unknown Source)请问如何解决。
报错页面内容为:
HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Filter execution threw an exception
root cause java.lang.UnsatisfiedLinkError: ProcessUrlJ
QMapLJni.ProcessUrlJ(Native Method)
a.doFilter(Unknown Source) 控制台报的错误内容为 信息: http://192.168.1.29:8080/xinneng_web/t.jsp
Can't find library QMapLServer.DLL
java.lang.UnsatisfiedLinkError: no QMapLServer in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at QMapLJni. <clinit>(Unknown Source)
at a.doFilter(Unknown Source)请问如何解决。
可以将所有DLL放在系统path能找到的地方,建议目录为system或system32.
javah 时有没有使用完整包名.类名
没加包名也会报这种错误
..\Apache Software Foundation\Tomcat 5.5\bin或../../system32