Access restriction: The method createJPEGEncoder(OutputStream) from the type JPEGCodec is not accessible due to restriction on required library /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/rt.jar
The fix it:
- Right-click the project, and click "Properties"
- open "Java Compiler",
- select "Errors/Warnings",
- "Enable project specific settings",
- open "Deprecated and restricted API"
- change to "Warning" for "Forbidden reference(access rules)"
There is a situate which is input for article
ReplyDelete