I have some code in a Spring application that loads a file from a sub package (foo.bar.resources) of the current package:
package foo.bar
InputStream in = this.getClass().getResourceAsStream("./resources/facility.xml");
I would like to be able to move the xml file to the conventional resources folder but are unsure how to load it without using an absolute path