调用CachedRowSetImpl类时,为什么会出现这样的错误
Access restriction: The type CachedRowSetImpl is not accessible due to restriction on required library C:\glassfish3\jdk7\jre\lib\rt.jar
但能在rt.jar中找到CachedRowSetImpl的类文件。。。
解决方法:
要在project build path中先移除JRE System
Library,再加入库JRE System Library,之后就能够了。
浙公网安备 33010602011771号