can a .class file be added to the urlpath of a URLClassLoader
Posted
by java_geek
on Stack Overflow
See other posts from Stack Overflow
or by java_geek
Published on 2010-04-14T11:17:14Z
Indexed on
2010/04/14
11:33 UTC
Read the original article
Hit count: 254
I have a custom class loader which extends from a URLClassLoader. I added a .class file to the urlpath using addURL(); but when i do a class.forname() using this loader i get a ClassNotFoundException. However, if i create a jar and add the jar to the urlpath, i do not get any exception. What can be added to the urlpath of a URLClassLoader usign addURL()
© Stack Overflow or respective owner