the import cannot be resolved问题可以通过以下方法解决
问题详细
eclipse 导入的项目后,src源码类文件代码的import xx.xxx.xx 识别不了其他包的类。提示the import can not be resolved
解决方案
-
project-clean ,重新编译项目;
-
引入源码文件, 右键项目->build path -> Config build path-source-add folder-选中每个module中的src;
-
重新导入依赖jar包 ,右键项目->build path -> Config build path- Libraries-> remove后,重新导入;