项目场景:

eclipse报Access restriction: The type ‘BASE64Decoder’ is not API


问题描述:

就是有找了这个jdk下面是存在这个rt.jar包,,但是就是引用不到,然后看晚上网上的方法就是要移除jdk然后重新引入eclipse报Access restriction: The type ‘BASE64Decoder‘ is not API处理方法

例如下面的网站:
https://blog.csdn.net/gnail_oug/article/details/53636428
eclipse报Access restriction: The type ‘BASE64Decoder‘ is not API处理方法
但是我这边试了一下还是没用,于是发现了问题所在


原因分析:

这里可能就是发现我jdk包的顺序的问题,因为公司的项目有很多,就有很多的jar包,而且主项目要引入其他的项目,顺序就不对了


解决方案:

总的解决方法就是下面的jdk的顺序,之前我放在最下面,然后我直接将这个放最上面,就不报错了
eclipse报Access restriction: The type ‘BASE64Decoder‘ is not API处理方法

相关文章:

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