在eclipse中引入import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder;
两个类的时候显示错误其切提示错误为 :Access restriction: The constructor BASE64Encoder() is not accessible due to restriction on required library XXX
与
Access restriction: The constructor BASE64Decoder() is not accessible due to restriction on required library XXX的两个提示。
解决方法:只需要在configure build path 中去掉 jre system library,然后重新加载jre system library.....即可!
转载自:http://blog.csdn.net/lgm277531070/article/details/8653092