Given hello.jar, which is compiled with maven, I want to access a resource located under folder/file.file. However I don\'t know how to get the URL of the current JAR I am i
You can find a jar's resources by using:
String resRelativePath = "folder/thing.jpg"; URL resUrl = this.getClass().getResource(resRelativePath);