BASE64Decoder java

转载自:http://fyinthesky.blog.163.com/blog/static/3555251720101012103020849/

import="sun.misc.BASE64Decoder"
出现错误提示为:Access restriction: The type BASE64Decoder is not accessible due to restriction  
 on required library D:\ProgramFiles\MyEclipse\jre\lib\rt.jar
如何解决?或者有其它的替换方式。

解决办法:

1. Open project properties.
2. Select Java Build Path node.
3. Select Libraries tab.
4. Remove JRE System Library.
5. Add Library JRE System Library.

posted on 2012-03-22 04:02  yang3wei  阅读(196)  评论(0编辑  收藏  举报