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。
本文介绍了解决Eclipse编译时出现的“Accessrestriction:类型不可访问”错误的方法。具体步骤为:通过项目属性设置移除并重新添加JRE系统库。
1896

被折叠的 条评论
为什么被折叠?



