I have a Webdynpro-Component (incl. Library-Project) and want to include dynamically Jars on runtime.
e.G. The user uploads a Jar-Archive, which is stored into a database. Now the Jar is loaded with a separate custom URLClassloader. This works fine.
Since I am using a new URLClassloader I pass it the parentclassloader that I get from:
The current Parent classloader is:
But if a class inside the Jar has references to the Library-Project, the reference to the lib project cant be found (ClassNotFoundException).
How can I access or reference Classes out of the library project?
Is there an alternative approach to achieve a dynamic integration of jars?
Any help is appreciated 😊