Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on require

Posted rocky-fang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on require相关的知识,希望对你有一定的参考价值。

1.问题描述

  找不到包  sun.misc.BASE64Encoder

 

2. 解决方案

   只需要在project build path中先移除JRE System Library,再添加库JRE System Library,重新编译后就一切正常了。

以上是关于Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on require的主要内容,如果未能解决你的问题,请参考以下文章

Access restriction: The type QName is not accessible due to restriction on required library

Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on require

Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required libra

关于Access restriction: The type 'Application' is not API (restriction on required library)(示例

Access restriction:The type JPEGCodec is not accessible due to restriction on required library C:Pr(

Access restriction: The type 'JPEGCodec' is not API