0


【the import cannot be resolved问题可以通过以下方法解决】

the import cannot be resolved问题可以通过以下方法解决

问题详细

eclipse 导入的项目后,src源码类文件代码的import xx.xxx.xx 识别不了其他包的类。提示the import can not be resolved

解决方案

  1. project-clean ,重新编译项目;
  2. 引入源码文件, 右键项目->build path -> Config build path-source-add folder-选中每个module中的src;
  3. 重新导入依赖jar包 ,右键项目->build path -> Config build path- Libraries-> remove后,重新导入;

本文转载自: https://blog.csdn.net/lianwen90/article/details/129159417
版权归原作者 Luvwind 所有, 如有侵权,请联系我们删除。

“【the import cannot be resolved问题可以通过以下方法解决】”的评论:

还没有评论