天天看點

擷取伺服器上JAR包絕對路徑

ApplicationHome ah = new ApplicationHome(getClass());
            File file1 = ah.getSource();
            String fileTemp = file1.getParentFile().toString();