the import xxx cannot be resolved

項目裏很多import導入的類出現紅色波浪線,提示the import  xxx  cannot be resolved 這是因爲檢出的項目使用的jdk與本地jdk不一致的導致的。 解決步驟: 右擊項目名---buildpath--configure build path-----Libraries---remove--add Library--JRE system  Library --next
相關文章
相關標籤/搜索