项目报错出现: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上填入**
最后保存更改即可