The constructor someMethod() is not accessible due to restriction on required library
2012-05-30 15:20
405 查看
今天向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
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
相关文章推荐
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required library E:/JDK/JDK1.6.0_03/jdk1.6.
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required library E:\JDK\JDK1.6.0_03
- The constructor JButton(String) is not accessible due to restriction on required library C:\Program
- Access restriction: The method typeNameToClass(String) from the type ObjectHandler is not accessible due to restriction on required library
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required library(转)
- Access restriction: The type XXX is not accessible due to restriction on required library XXX
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required librar
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required librar
- Access restriction: The type Resource is not accessible due to restriction on required library
- Access restriction:The type JPEGCodec is not accessible due to restriction on required library
- Access restriction: The type Resource is not accessible due to restriction on required library
- The type Icon is not accessible due to restriction on required library C:\Users\keren_LI\algs4\java\lib\rt.jar
- Access restriction: The type JPEGCodec is not accessible due to restriction on required library
- 关于“The type *** is not accessible due to restriction on required library”问题的解决
- Access restriction: The type XXXX is not accessible due to restriction on required library
- (Error) The type AESKeyGenerator is not accessible due to restriction on required library.
- Access restriction: The type Unsafe is not accessible due to restriction on required library
- Access restriction: The type HttpServlet is not accessible due to restriction on required library xxxx\servlet-api.jar
- 关于“The type **** is not accessible due to restriction on required library”问题的解决
- Access restriction: The type FtpClient is not accessible due to restriction on required library