定位所用的class 方案 為解決類沖突,我們可以使用下述的方案定位一個class所在的位置 ClassName.class.getResource("").getPath(); 獲取ClassName所在 ...