java 错误:Access restriction: The type Resource is not accessible due to restriction on required library
2014-05-04 20:54
603 查看
Eclipse 默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer- Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。
相关文章推荐
- The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.
- Access restriction: The type Resource is not accessible due to restriction on required library
- Access restriction: The type Resource is not accessible due to restriction on required library
- 错误总结:Access restriction: The type ** is not accessible due to restriction on required library
- Access restriction: The type Resource is not accessible due to restriction on required library
- The type Resource is not accessible due to restriction on required library
- 错误解决:The type [X] is not accessible due to restriction on required library [Y].
- Access restriction: The type OutputFormat is not accessible due to restriction on required library D:/Java/jdk1.6.0_20/jre/lib/r
- The type HttpExchange is not accessible due to restriction on required library 错误
- Access restriction: The type Resource is not accessible due to restriction on required library
- 【Java】解决Acces restriction: The type X is not accessible due to restriction on required library 的解决方法
- 报错: Access restriction:The type JPEGCodec is not accessible due to restriction on required library
- Access restriction: The type XXX is not accessible due to restriction on required library XXX
- Access restriction: The type BMPImageReader is not accessible due to restriction on required library
- Access restriction: The type JPEGCodec is not accessible due to restriction on required library
- Access restriction: The type FtpClient is not accessible due to restriction on required library
- access restriction: The type * is not accessible due to restriction on required library
- Access restriction: The type JFrame is not accessible due to restriction on required library
- Access restriction: The type JPEGCodec is not accessible due to restriction on required library
- Access restriction: The type JFrame is not accessible due to restriction on required library