今天从svn更新代码之后,由于代码中使用了BASE64Encoder 
eclipse报Access restriction: The type  
更新之后报如下错误: 
Access restriction: The type ‘BASE64Decoder’ is not API (restriction on required library ‘D:\java\jdk1.7.0_45\jre\lib\rt.jar’)

解决其实很简单,把JRE System Library移除重新添加即可。 
方法:项目右键–>Properties–>Java Build Path,切换到libraries tab页,找到JRE System Library移除, 然后再点击Add Library–>JRE System Library添加即可。 
eclipse报Access restriction: The type  
eclipse报Access restriction: The type