I am integrating a web service in my web application.
The web service provided me a .dll and .jar file.
I placed .dd in /jre/bin and .jar in /jre/lib
After that I developed my code, and deployed the app.
During development, I also included the .jar file in my project build path.
On running it through tomcat, it gives me the error:
java.lang.UnsatisfiedLinkError: Native Library .dll already loaded in another classloader
Can someone tell me where am I goign wrong.
I did search this problem, but none of d answers were clear.
When I remove the .dll or .jar file, my program fails saying it could not find it.
I also tried removing it from my external lib, but that also din work
Please help
Thanks,
Akshay
You can’t load the same library twice.
Paste the class in a jar file under
/lib/, it will be shared with other .WAR files.