大学IT网 - 最懂大学生的IT学习网站! QQ资料交流群:367606806
当前位置:大学IT网 > Java技巧 > Eclipse error:Access restricti

Eclipse error:Access restricti

关键词:errorEclipserestrictionAcce  阅读(2006) 赞(16)

[摘要]本文是对Eclipse error:Access restriction的讲解,对学习Java编程技术有所帮助,与大家分享。

报错:
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即可。



相关评论