Back
Right to the point :
ClassLoader classLoader = getClass().getClassLoader();File file = new File(classLoader.getResource("file/test.xml").getFile());
ClassLoader classLoader = getClass().getClassLoader();
File file = new File(classLoader.getResource("file/test.xml").getFile());
31k questions
32.8k answers
501 comments
693 users