码迷,mamicode.com
首页 > 数据库 > 详细

Access restriction: The method 'CharacterEncoder.encode(byte[])' is not API...

时间:2019-05-16 16:26:56      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:错误   cti   code   ror   window   ESS   error   bsp   cte   

问题描述:Access restriction: The method ‘CharacterEncoder.encode(byte[])‘ is not API...

解决方法:这种错误是eclipse设置问题,修改eclipse的设置即可:点击Windows --> Preferences --> Java --> Complicer --> Errors/Warnings 
--> Deprecated and restricted API中的Forbidden references(access rules)选为Warning即可编译通过。

Access restriction: The method 'CharacterEncoder.encode(byte[])' is not API...

标签:错误   cti   code   ror   window   ESS   error   bsp   cte   

原文地址:https://www.cnblogs.com/Jin1000x/p/10876276.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!