java 错误:Access restriction: The type Resource is not accessible due to restriction on required library

时间:2014-05-05 10:32:32   收藏:0   阅读:681

Eclipse 默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer- Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。

java 错误:Access restriction: The type Resource is not accessible due to restriction on required library,布布扣,bubuko.com

原文:http://www.cnblogs.com/hualimengyu/p/3707902.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!