eclipse导入一个项目之后没有JRE System Library怎么办?

来源:互联网 发布:bs点炒股软件 编辑:程序博客网 时间:2024/05/31 18:59
导入一个项目时出现
Multiple markers at this line- The type java.lang.Object cannot be resolved. It is indirectly referenced from  required .class files- The type java.lang.String cannot be resolved. It is indirectly referenced from  required .class files
报错信息
JRE System Library 包没有导入
解决方法:
右键项目工程-->>properties->>java bulid path -->>>libraries -->>add library -->>JRE System Library
ps:下图红圈提示,选择红圈中选择项就可以导入了
最后,直接finish就导入成功了
 
阅读全文
1 0
原创粉丝点击