String path = Thread.currentThread().getContextClassLoader().getResource("").getPath();
?
结果为
?
............../WEB-INF/classes
String path = Thread.currentThread().getContextClassLoader().getResource("").getPath();
?
结果为
?
............../WEB-INF/classes