今天向eclipse里面导入一个项目之后,发现报这样的错误:

The constructor someMethod() is not accessible due to restriction on required library

后来网上搜了搜,发现一个解决方案:

1.删除项目java build path中的 java system library

2.添加新的java system library

果然这个问题解决了。。

原因未知,等过阵子有空之后再来研究一下吧

参考链接:

1.http://hi.baidu.com/sun672380679/blog/item/d98ae0df26240d5f95ee37f7.html/cmtid/d2d458fa9e3da474024f56d8

2.http://forums.dzone.com/eclipse/384-access-restriction-problems.html

 

相关文章:

  • 2022-01-06
  • 2021-12-18
  • 2021-12-22
  • 2022-03-03
  • 2022-12-23
  • 2021-08-09
  • 2021-09-10
  • 2021-08-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-01-03
  • 2021-12-03
相关资源
相似解决方案