出现Access restriction: The type BASE64Encoder is not accessible 错误

xiaoxiao2021-02-27  200

在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

转载请注明原文地址: https://www.6miu.com/read-14804.html

最新回复(0)