Loading files from java jar file<>
This question already has an answer here:
- Get resource from jar 4 answers
If you change the name of your XXX.jar file to XXX.zip, then open it in whatever Zip file utility you might have available, you can look inside the file and see 1. Whether your files are getting included in the jar at all, and if they are, 2. the actual path in which they are stored. I strongly suspect there's now src folder inside your jar.
Also, if you're NOT expecting the files to be in the jar, then you'll probably need to supply an absolute path to the files.
If they are in the jar, then check out these questions: