最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

运维笔记admin4浏览0评论
导入一个项目时出现
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就导入成功了
 
发布评论

评论列表(0)

  1. 暂无评论