ctubbsii commented on issue #76:
URL: 
https://github.com/apache/accumulo-classloaders/issues/76#issuecomment-3929282517

   The docs for URLClassLoader specify that if the resource path ends in slash, 
it is treated as a directory, and otherwise it gets treated like a jar. So, if 
you specify files that can't be opened like a jar (like a text file), then it 
will get some kind of IOException trying to open the file as a jar when loading 
classes or resources. We can't support directories, so I guess we only support 
jar (or jar-like files, like war, or ear). I can make that more clear in the 
README. Other resource files should be bundled in a jar and read from the 
classloader using .getResourceAsStream() or similar.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to