1. 程式人生 > >如何刪除myeclipse自導的衝突jar包——antrl-2.7.2

如何刪除myeclipse自導的衝突jar包——antrl-2.7.2

1、在myeclipse裡面Window——preferences  搜尋struts 2 (有空格)

2、右鍵專案——Properties——Java Buli Path——Libraries——找到 struts 2 core Libraties  裡面有antrl   滑鼠放上去會顯示路徑然後找到路徑(一般目錄都是myeclipse安裝目錄裡面,也可以在MyEclipse安裝的configuration\org.eclipse.osgi\bundles目錄下搜尋antlr-2.7.2.jar,刪除所有antlr-2.7.2的jar包檔案;

3、重新開啟myeclipse就OK了