Eclipse 編譯錯誤 Access restriction:The type *** is not accessible due to restriction on... 解決方案

Eclipse 編譯錯誤 Access restriction:The type * is not accessible due to restriction on… 解決方案
Eclipse 編譯時報錯:
Access restriction:The type JPEGCodec is not accessible due to restriction on required library C:/Program Files/Java/jre6/lib/rt.jar
解決方法:
Project -> Properties -> libraries,
先 remove 掉 JRE System Library,然後再 Add Library 重新加入。
原文鏈接:http://rxxluowei.iteye.com/blog/671893
好多人不明覺厲:
我認爲原因是jre版本匹配問題

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章