The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.
来源:互联网 发布:数据库未打开怎么解决 编辑:程序博客网 时间:2024/06/10 20:55
eclipse遇到报错:
The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.jar
google后发现用以下方式解决:
这个事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.
- The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_
- The type JPEGImageEncoder is not accessible due to restriction on required library
- 解决办法:Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required
- Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required libra
- Access restriction: The type Node is not accessible due to restriction on required library C: \Prog
- java 报错 the type JOptionPane 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 XXXX 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 XXX is not accessible due to restriction on required library XXX
- Access restriction: The type JPEGCodec is not accessible due to restriction on required library
- Access restriction: The type BASE64Encoder is not accessible due to restriction on required library
- Access restriction: The type XXXX is not accessible due to restriction on required library
- Access restriction: The type BMPImageReader is not accessible due to restriction on required library
- Access restriction: The type XXX 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 * is not accessible due to restriction on required library
- pylab绘制图表
- 怎么使用数据库12341234
- Javascript输入汉字自动转换为首字母的拼音码
- 设计模式之(二十)解释器模式Interpreter
- OpenStack Arch
- The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.
- PHP register_shutdown_function函数详解
- Source Insight查看ARM汇编源程序 && Source Insight打开project窗口出错
- GDB远程调试技术---基于mini2440
- oracle restrict 介绍
- android 底层开发 ----- LED实验
- Android 源码编译(本文来源:http://quanminchaoren.iteye.com/blog/837333)
- 深入浅出之正则表达式(二)
- STM32 eCos 启动代码分析(一)系统复位