問(wèn)題詳細(xì)
eclipse 導(dǎo)入的項(xiàng)目后,src源碼類文件代碼的import xx.xxx.xx 識(shí)別不了其他包的類。提示the import can not be resolved
解決方案
-
project-clean ,重新編譯項(xiàng)目;
-
引入源碼文件, 右鍵項(xiàng)目->build path -> Config build path-source-add folder-選中每個(gè)module中的src;文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-516228.html
-
重新導(dǎo)入依賴jar包 ,右鍵項(xiàng)目->build path -> Config build path- Libraries-> remove后,重新導(dǎo)入;文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-516228.html
到了這里,關(guān)于【the import cannot be resolved問(wèn)題可以通過(guò)以下方法解決】的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!