SyntaxFix
Write A Post
Hire A Developer
Questions
URL url = getClass().getClassLoader().getResource("someresource.xxx");
That should do it.