java resource path
log.info("getClass -> getResource('') :::: Path = " + this.getClass().getResource("").getPath()); //該專案下的path::/adm-app/target/classes/com/cht/adm/web/rest/uploadSample.zip
log.info("getClass -> getResource('').getPath :::: Path = " + this.getClass().getResource("uploadSample.zip").getPath()); //該class下的path::/adm-app/target/classes/com/cht/adm/web/rest/uploadSample.zip
log.info("getClass -> getResource('/') ::: Path =" + this.getClass().getResource("/"));///該專案下ydd-web/target/classes/
log.info("getClass -> getResource('/').getPath ::: Path =" + this.getClass().getResource("/").getPath());///該專案下ydd-web/target/classes/
// log.info("getClass -> getClassLoader -> getResource('') :::: Path =" + this.getClass().getClassLoader().getResource("").getPath());//該專案下ydd-web/target/classes/
// log.info("getClass -> getClassLoader -> getResource('/') :::: Path =" + this.getClass().getClassLoader().getResource("/").getPath());//該專案下ydd-web/target/classes/