天天看點

解決myeclipse中struts2 bug問題包的替換問題

因為struts2的bug問題,手工替換還是比較麻煩,但即便是最新的myeclipse2014也沒有替換最新的struts2包,研究了一天,終于找到了解決辦法。以下就解決方法與大家分享一下。

1、在perferences中找到 myeclipse->project libraries,右邊找到 struts2.1 libraries,點選 enable advanced configiguration,去掉以下檔案前面的對勾,然後點選 add custom jars

解決myeclipse中struts2 bug問題包的替換問題

2、在彈出的對話框中選擇 archives from file system

解決myeclipse中struts2 bug問題包的替換問題

3、下一步後 點選 add...,将以下檔案添加,或者是最新版的下列檔案,然後結束即可。

解決myeclipse中struts2 bug問題包的替換問題

4、建立了struts2工程後,還需要再檢查處理一下該工程的struts2.1屬性,勾選 enable project specific advanced configration

解決myeclipse中struts2 bug問題包的替換問題

繼續閱讀