大家好,又见面了,我是你们的朋友全栈君。
I have written a Java agent in Lotus Notes 8.5 to reset token’s PIN using
IAIKPKCS11wrapper. When the agent is loaded for the first time it worked
fine. But after I close and restart the agent then it failed. Checking the
console output I discovered the following error:
Exception in thread “AgentThread: JavaAgent”
java.lang.UnsatisfiedLinkError: pkcs11wrapper (Library is already loaded in
another ClassLoader)
I have searched the group but the closest I could find is that it is not
possible to unload the DLL library but I still have no idea how to handle
it.
Can anyone point me the solution?
解决方案
From one of the related SO questions, found this tutorial on DLL unloading.
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/144630.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...