hi, i load a class using ClassLoader but i am not able to create an object of that class.Here is the code.What is the problem?Help
Cloader = new URLClassLoader(new URL[] {new File(binfolderurl).toURI().toURL()},ClassLoader.getSystemClassLoader);
Thread.currentThread().setContextClassLoader(Cloader);
Class clss = Cloader.loadClass("Someclass");
Object myobj = clss.newInstance();