Topic: 在web里调用jni的问题,请教各位高手 |
Print this page |
1.在web里调用jni的问题,请教各位高手 | Copy to clipboard |
Posted by: y_y_n Posted on: 2003-12-27 20:09 我按照jni的规范写了一个dll,其对应的class是com.**.TestJNI 在eclipse里写测试程序调用没问题,可是作为工具类放在 Websphere里用Jsp调用,总报UNSATISFIED LINKERROR,我的dll放在system32目录下面。重启web app后再访问就报: com.**.TestJNI class not defined.....或者 dll already by another classloader loaded...错误有时候不一样 真是白思不得其解,不知道该怎么解决。 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |