首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Access >

解决Eclipse Access restriction: 有关问题

2012-12-28 
解决Eclipse Access restriction: 问题The method encode(byte[]) from the type CharacterEncoder is not

解决Eclipse Access restriction: 问题

The method encode(byte[]) from the type CharacterEncoder is not accessible due to restriction on required library C:\Program Files\Java\jdk1.6.0_21\jre\lib\rt.jar

?

其实要解决它也很容易,在Window -preferences - Java - Compiler - Errors/Warnings界面的Deprecated and restricted API下。把Forbidden reference (access rules): 的规则由默认的Error改为Warning即可。

热点排行