1, access to the resource directory path template
String path = Thread.currentThread().getContextClassLoader().getResource("").getPath()+"template";
1, access to the resource directory path template
String path = Thread.currentThread().getContextClassLoader().getResource("").getPath()+"template";