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

Eclipse error:Access restriction

时间:2014-05-26 07:30:24      阅读:279      评论:0      收藏:0      [点我收藏+]

标签:c   code   java   a   com   string   

 

报错:
Access restriction: The method decodeBuffer(String) from the type CharacterDecoder is not accessible due to restriction on required library


Access restriction: The constructor BASE64Decoder() is not accessible due to restriction on required library

Access restriction: The type BASE64Decoder is not accessible due to restriction on required library

 

解决方法: 
这是eclipse设置问题,eclipse默认把这些受访问限制的API设成了ERROR,只要把 
Window-Preferences-Java Complicer-Errors/Warnings 
里面的Deprecated and restricted API中的Forbidden references(access rules)设置为Warning即可。

Eclipse error:Access restriction,布布扣,bubuko.com

Eclipse error:Access restriction

标签:c   code   java   a   com   string   

原文地址:http://www.cnblogs.com/Bluehand/p/3747897.html

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