在eclipse中导入代码时遇到的Java问题
我在eclipse中导入java项目,并得到以下错误。在描述中,它给出了“Java问题(2项)”。第一项内容如下:
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.CharSequence. Fix the build path then try building this project.
第二项内容如下:
The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from the required .class files.
# 1 楼答案
只需在Eclipse中选择Project选项并单击Clean。然后建造这个项目