欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

Eclipse 编译错误 Access restriction:The type *** is not acce

程序员文章站 2022-06-15 11:10:09
...

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

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。