Access restriction: The method createJPEGEncoder(OutputStream) from the type JPEGCodec is not access

时间:2015-05-18 14:36:11   收藏:0   阅读:603

这是myeclipse 或者 eclipse的设置问题,它默认把这些受访问限制的API设成了ERROR,只要把

Windows-Preferences-Java-Complicer-Errors/Warnings
里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过了。

原文:http://www.cnblogs.com/pan1308/p/4511746.html

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