Unbound classpath container: 'JRE System Library [jdk17060]' in project ***

时间:2023-03-09 01:57:45
Unbound classpath container: 'JRE System Library [jdk17060]' in project ***

项目报告的错误列表 Unbound classpath container: 'JRE System Library [jdk17060]' in project **** 误。

原因是,我升级JDK版本号。之前所使用的配置Installed JREs项目删除,:

Unbound classpath container: 'JRE System Library [jdk17060]' in project ***

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGVzdGNzX2Ru/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="" />

解决的方法:

在项目上单击鼠标右键》Build Path》Configure Build Path

Unbound classpath container: 'JRE System Library [jdk17060]' in project ***

Java Build Path》Libraries。删除错误的Libraries。Add Library

Unbound classpath container: 'JRE System Library [jdk17060]' in project ***

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGVzdGNzX2Ru/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="" />

选中JRE System Library,Next

Unbound classpath container: 'JRE System Library [jdk17060]' in project ***

选择“alternate JRE”,假设下拉列表中没有,就点右側的“Installed JREs”button加入,选择完毕之后单击Finishbutton完毕。

Unbound classpath container: 'JRE System Library [jdk17060]' in project ***

版权声明:本文博主原创文章,博客,未经同意不得转载。