如下错误:
Access restriction: The type ‘BASE64Decoder’ is not API (restriction on required library ‘D:\java\jdk1.7.0_45\jre\lib\rt.jar’)

解决其实很简单,把JRE System Library移除重新添加即可。

方法:项目右键–>Properties–>Java Build Path,切换到libraries tab页,找到JRE System Library移除, 然后再点击Add Library–>JRE System Library添加即可。
eclipse报错Access restriction: The type 'BASE64Encoder' is not API处理方案
eclipse报错Access restriction: The type 'BASE64Encoder' is not API处理方案
eclipse报错Access restriction: The type 'BASE64Encoder' is not API处理方案
eclipse报错Access restriction: The type 'BASE64Encoder' is not API处理方案

相关文章:

  • 2022-12-23
  • 2022-01-06
  • 2021-05-30
  • 2021-06-24
  • 2021-10-16
  • 2021-06-03
  • 2022-03-01
  • 2021-10-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2021-07-07
  • 2021-06-16
相关资源
相似解决方案