In my project I have 2 packages. images - contain images and notification - contain java files
In notification/main.java I get Image o
/
means an absolute path, save Java web-apps where /
means relative to context. So, I would suggest to use relative URL, means get rid of that /
in front, and then provide the right path.
In case, even then you can't solve it, try to create a file on the same path you are looking for image. This way you will know that where you are looking exactly and where you should look.