您的位置:首页 > 编程语言 > Java开发

Eclipse 警告提示:Access restriction:The type JPEGCodec is not accessible due to restriction on

2015-06-16 19:35 477 查看

两种解决方案:
1:Windows -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and trstricted API -> Forbidden reference (access rules): -> 改变为 warning

2:[Project] -> Properties -> Java Build Path -> Libraries -> Remove JRE System Library
Add Library -> JRE System Library -> Click OK
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: