Java gets the classes path under the target

Java gets the classes path under the target


insert image description here

String resourcePath= ResourceUtils.getURL(“classpath:”).getPath()

Guess you like

Origin blog.csdn.net/qq_45844443/article/details/119681416