BASE64Decoder java

来源:互联网 发布:阿里云学生服务器使用 编辑:程序博客网 时间:2024/05/22 00:46

转载自: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.

原创粉丝点击