Hi,
I'm getting ClassNotFoundException error in this code below.
String url ="http://<some-path>/app.jar";
URL[] classLoaderUrls = new URL[]{new URL(url)};
ClassLoader cl = new URLClassLoader(classLoaderUrls);
Class<?> beanClass = cl.loadClass("com.app.MyClass"); // Throwing ClassNotFoundException although this class is present in the JAR in the fully qualified package name.
Any clue what to fix here ?