0
我是新手编程,并试图在Eclipse中使用Eclipse创建窗口,并在运行时得到此错误消息。对库Java库的访问限制
如何解决此错误或允许访问库?
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Access restriction: The type JFrame is not accessible due to restriction on required library C:\Program Files\Java\jre1.8.0_25\lib\rt.jar
您的帮助将不胜感激。
此链接可能帮助: http://stackoverflow.com/questions/860187/access-restriction-on-class-由于对限制上,需要的库-RT-JAR –