Eclipse报错-Description Resource Path Location Type Unbound classpath container: ‘JRE System Library

运行环境:win7
在eclipse中创建Java SE项目时,出现以下情况:
Java程序出现红色感叹号
Eclipse报错-Description Resource Path Location Type Unbound classpath container: ‘JRE System Library_第1张图片
控制台报如下错误:

Description	Resource	Path	Location	Type
Unbound classpath container: 'JRE System Library [JavaSE-1.7]' in project 'myProject'	

Description	Resource	Path	Location	Type
The project cannot be built until build path errors are resolved	

Eclipse报错-Description Resource Path Location Type Unbound classpath container: ‘JRE System Library_第2张图片
简单解决办法,选择JRE的其他选项进行创建。
Eclipse报错-Description Resource Path Location Type Unbound classpath container: ‘JRE System Library_第3张图片
如果还是解决不了,推荐以下方法。
导入javaee项目后报Description Resource Path Location Type Unbound classpath container: 'JRE System Library
Unbound classpath container: ‘JRE System Library [jdk1.8]’ in project ****

你可能感兴趣的:(Java,eclipse,java)