String path = getClass().getProtectionDomain().getCodeSource().getLocation().getPath(); 擷取jar包釋出到伺服器後的版本路徑