工学1号馆

home

« | 返回首页 | »

due to restriction on required library:../jdk../jre/lib/rt.jar错误解决方案

By Wu Yudong on June 01, 2015

原创文章,转载请注明: 转载自工学1号馆

在《搭建Hadoop源代码学习环境》的搭建过程中,Eclipse报错:

Description Resource Path Location Type Access restriction: The type GSSUtil is not accessible due to restriction on required library .....Description Resource Path Location Type Access restriction:...... jre/lib/rt.jar

解决方案:

1、进入Project --> Properties --> Java /Build Path --> Libraries

2、remove 掉 JRE System Library

3、Add Library 重新加入JRE System Library

添加后即可解决此问题。

如果文章对您有帮助,欢迎点击下方按钮打赏作者

Comments

No comments yet.
To verify that you are human, please fill in "七"(required)