1. 程式人生 > >The method xx from the type xx refers to the missing type List等問題的解決辦法

The method xx from the type xx refers to the missing type List等問題的解決辦法

導入 pat fig 就是 rem 發現 con 網上 path

這個問題真的是在網上找了好久 導入項目之後運行就出現500錯誤然後錯誤顯示這個 在網上查閱之後發現兩種種解決辦法

1. # 將import刪掉,重新導入。

重新導入後,可以發現錯誤立馬消失了,但是一會兒還是回歸之前的狀態,不過有些人通過這種方式解決了錯誤。

2. # build path 全部remove再添加

以eclipse為例,右鍵項目 -> build path -> configure ,將顯示的四個全部remove,再add添加上。

我就是用的第二種解決的

The method xx from the type xx refers to the missing type List等問題的解決辦法