天天看點

擷取jar包釋出到伺服器後的版本路徑

String path = getClass().getProtectionDomain().getCodeSource().getLocation().getPath();

擷取jar包釋出到伺服器後的版本路徑

繼續閱讀