解决Access restriction: The type XXXX is not accessible due to restriction on required library

解决办法:

在Build Path里面把JRE System Library移除后重新添加进去。

添加方法:项目右键,build path,configure build path,右面窗口的Libraries,add library...,jre system library。

你可能感兴趣的:(System,Access,Build,Path,library)