i have a java ee project which has a text file that uses a xml for loading data but i cannot address the test file xml which is behind the java test file. in the test file i use this statement:
InputStream inputFile = AddressTreeTest.class.getClassLoader().getResourceAsStream("test/testAdr.xml");
but when i run the file inputFile is null. what should I do?