解决项目报错出现Access restriction: The type BASE64Encoder is not accessible due to restriction

来源:互联网 发布:知英日剧 编辑:程序博客网 时间:2024/04/29 01:00

项目报错出现:Access restriction: The type BASE64Encoder is not accessible due to restriction on required library E:\MyEclipse 2014\MyEclipse2014\binary\com.sun.java.jdk7.win32.x86_64_1.7.0.u45\jre\lib\rt.jar 怎么解决?

右键项目==>选择properties



选择左边的java bulid path==>Libraries==>jre System Library;





打开jre System Library==>Access Rules==>Edit;




打开之后选择Add,在弹出框的Resolution上选择Accessible,Rule Pattern上填入**




最后保存更改即可
阅读全文
0 0
原创粉丝点击