今天从svn更新代码之后,由于代码中使用了BASE64Encoder 
 
更新之后报如下错误: 
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添加即可。 
 

转载于:https://www.cnblogs.com/toSeeMyDream/p/8036167.html

eclipse报Access restriction: The type 'BASE64Decoder' is not API处理方法相关推荐

  1. SVN检出项目报:Access restriction: The type 'BASE64Decoder' is not API

    1.起因 今天从SVN里检出项目出现个别文件报错(Access restriction: The type 'BASE64Decoder' is not API (restriction on req ...

  2. Access restriction: The type 'BASE64Encoder' is not API 的解决方法

    转自: https://www.mkyong.com/java/access-restriction-the-type-base64encoder-is-not-accessible-due-to-r ...

  3. clipse中Access restriction: The type ‘XXX’ is not API 解决

    报此错误只需将jre由jdk路径下的jre改为外部的jre即可,具体做法为: Project -> Properties -> Java Build Path -> Librarie ...

  4. 【JavaWeb】Access restriction The type is not accessible due to restriction on required library

    MyEclipse无法访问到jar包的解决方法 MyEclipse中编写Java代码时,用到了BASE64Decoder import sun.misc.BASE64Decoder: 和图片处理相关的 ...

  5. java常见错误--Access restriction: The type BASE64Encoder

    Access restriction: The type BASE64Encoder is not accessible due to restrict 在Eclipse中编写Java代码时,用到了B ...

  6. Access restriction: The type Unsafe is not accessible due to restriction on required library

    无事下载Google的common包guarva玩玩,丢到eclipse中就编译报错:Access restriction: The type Unsafe is not accessible due ...

  7. Access restriction: The type BASE64Encoder is not accessible due to restrict

    在eclipse中使用sun.misc.BASE64Encoder,却提示"Access restriction: The type BASE64Encoder is not accessi ...

  8. How to resolve warning message Access restriction -The type Resource is not accessible

    Created by Wang, Jerry, last modified on Jul 08, 2016

  9. 【问题收录】Eclipse Type Access restriction问题解决

    今天在Eclipse 中 import Android APP 的时候出现了下面这个错误 Location Type Access restriction: The type Predicate is ...

最新文章

  1. 避免单线程单元 (STA) COM 组件
  2. 中小学AI教育靠谱吗?50%教师教学经验不足1年
  3. 关于学习Python的一点学习总结(40->os.path模块)
  4. 【11】nvjdc不能用以后另一种jd ck获取办法
  5. 【时序数据处理】pandas某些列由于n个数据导致的,通过Series生成Dataframe
  6. SQL语句统计每天、每月、每年的数据
  7. 基于DGCNN和概率图的轻量级信息抽取模型
  8. 2018年SIAF 广州国际工业自动化技术及装备展览会下周隆重开幕
  9. 3.1_ 5_动态分区分配算法
  10. 打印完全二叉树java_java 完全二叉树的构建与四种遍历方法示例
  11. pythonmysql查询转list_python 数据库查询结果转对象
  12. java sqlserver 二进制_Java将图片资源以二进制的形式保存到Sqlserver数据库中
  13. PAT 乙级 1010. 一元多项式求导 (25) Java版
  14. VC的function类说明 -- 继续
  15. html5 ios keychain,ios Keychain KeychainItemWrapper
  16. flush table mysql_MySQL flush table 导致的锁问题
  17. Logistic模型预测人口增长
  18. excel 方框打钩
  19. mui架构app-终章(我是怎样决定放弃mui)
  20. 年度光电领域盛会——CIOE中国光博会开幕在即!小枣君将全程在线直播!

热门文章

  1. python语言精通_Python语言基础从入门到精通
  2. 一维二维_更高效的一维、二维材料过渡态搜索
  3. php 如何宏定义,php – 在html中实现宏定义的方法
  4. oracle通信通道的文件结尾_ORA-03113:通信通道的文件结尾解决
  5. np读取csv文件_被 Pandas read_csv 坑了
  6. python2 print_Python2和Python3中print的不同点
  7. STM32F1笔记(二)GPIO输入
  8. 形态学操作——开闭运算、顶帽底(黑)帽变换
  9. 时间模块,带Python示例
  10. java 方法 示例_带有示例的Java EnumSetSupplementOf()方法