eclipse Access restriction: The type 'xxx' is not API (restriction on required library '')

eclipse报错:

Access restriction: The type 'ProxyGenerator' is not API (restriction on required library 'D:\software\Java8\jdk1.8.0_144\jre\lib\rt.jar')

后面查看到配置,原来是不知道怎么的导入了2份jdk了



 解决方法: 
        Project -> Properties -> libraries, 
          remove  一个 JRE System Library就可以了。 


posted on 2018-01-25 18:45  愤怒的苹果ext  阅读(9)  评论(0编辑  收藏  举报  来源

导航