Eclipse 编译错误 Access restriction: The type 'JPEGCodec' is not API (restriction on required library 'C:\Program Files\Java\jre7\lib\rt.jar')

解决方案:

         Project -> Properties ->Java Build Path -> libraries, 
        先 remove 掉 JRE System Library,然后再 Add Library 重新加入。 

posted @ 2016-08-19 14:56  羊皮纸月亮  阅读(2058)  评论(0编辑  收藏  举报