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

解决:

Windows->Preferences->Java->Complicer->Errors/Warnings

 

 

将 Deprecated and restricted API 中的 Forbidden references(access rules) 选为Warning就可以了