参考:https://*.com/questions/320542/how-to-get-the-path-of-a-running-jar-file
String path = this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath(); String decodedPath = URLDecoder.decode(path, "UTF-8");
2022-03-29 06:17:13
参考:https://*.com/questions/320542/how-to-get-the-path-of-a-running-jar-file
String path = this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath(); String decodedPath = URLDecoder.decode(path, "UTF-8");