I want to load classes that are inside a jar, that is located within another jar. Following is a hierarchy tree illustrating the location of the .class.
A.jar
|---A.class
|---B.jar
|---InterfaceA.class
So I have a class 'A'. This class implements an interface, 'Interface B' which is inside B.jar. A third class named 'C' loads at runtime an instance of A.class. However, I end up with a java.lang.ClassNotFoundException. Any idea on how to fix this issue? I've seen plenty of posts that explains how to dynamically load classes from jar files, however I haven't seen anything that explains how to load classes from a jar file that is within another jar file.
Thanks for your time