I wanted to use native interface to call a dll which i have kept in the bin directory of tomcat.But it throws an exception stating that the class has been already loaded by another class loader.I am using tomcat and apache server along with struts frame work