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

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

时间:2014-05-05 10:32:49      阅读:435      评论:0      收藏:0      [点我收藏+]

标签:java   com   cti   type   window   for   

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

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

标签:java   com   cti   type   window   for   

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

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