I made as default child of UrlClassLoader, added all my jar files by
public void addFile(String path) throws MalformedURLException {
    String urlPath = "jar:file:/" + path + "!/";
    System.out.println("------------------");
    System.out.println("urlPath = " + urlPath);
    URL url = new URL(urlPath);
    System.out.println("url = " + url);
    super.addURL(url);
    System.out.println("g = " + getURLs().length);
    System.out.println("==================");
}
then i'm trying to get some class from loader:
System.out.println("cl.loadClass() = " + cl.loadClass("com.company.project.SomeClass"));
It returns class normally.
When i'm try to find all classes by package:
resources = cl.findResources("com/company/");
It returns empty enumeration. Why?
 
     
     
    