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

导入一个项目时出现 Multiple markers at this line- The type java.lang.Object cannot be resolved. It is indirectly referenced from

导入一个项目时出现
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就导入成功了
 

发布者:admin,转转请注明出处:http://www.yc00.com/web/1743864113a4520241.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信