I want to use some files outside my war
file. It is located in
/opt/jetty/webapps
Let's say I want to put some files into
/opt/jetty/resources
and use them from my project. How can I access them from java code? When I use a full path in the deployed project, it's not working (no logging done and no errors):
Files.readAllBytes(Paths.get("/opt/jetty/resources/config"))