您的位置:首页 > 编程语言 > Java开发

[Eclipse报错] The type XXX cannot be resolved. It is indirectly referenced from required .class files

2013-10-05 22:41 996 查看
The type XXX cannot be resolved. It is indirectly referenced from required .class files

出现这个错误,项目原先的编译的jdk版本和目前eclipse的默认jdk版本不一样

解决办法:

选中项目>>Properties>>Java Build Path>>Add Library>>JRE System Library>>Workspace default JRE
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  eclipse
相关文章推荐