目錄
1.通用找錯方法
項目出現紅叉或者感嘆號後,後在windows--》show view--》orther中,搜索problems,找到對應錯誤
在problems中,右鍵copy錯誤信息到記事本中
如果自己能看出來錯誤,就根據錯誤信息解決。如果自己看不出來錯誤,就把錯誤信息複製到百度,google等搜索網站,搜索解決方案。
2.針對當前錯誤的解決方案
我將錯誤信息複製到notepad++中進行查看。
Description Resource Path Location Type
Archive for required library: 'D:/Program Files/maven/MavenRepository/com/github/jsqlparser/jsqlparser/0.9/jsqlparser-0.9.jar' in project 'pagehelper' cannot be read or is not a valid ZIP file pagehelper Build path Build Path Problem
進入報錯目錄,將文件全部刪除,然後maven會自己重新下載即可。
全部刪除完畢
然後等一會eclispe中的maven就會幫我們自動下載
項目就不報錯了