The constructor BASE64Encoder() is not accessible due to restriction on required library
来源:互联网 发布:数据挖掘招聘视频 编辑:程序博客网 时间:2024/06/06 09:13
在Eclipse中编写Java代码时,用到了BASE64Decoder,import sun.misc.BASE64Decoder;可是Eclipse提示:
Access restriction : The type BASE64Decoder is not accessible due to restriction on required library C:\Program
files\java\jre6\lib\rt.jar
Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on required library C:\Program files\java\jre6\lib\rt.jar
搞不懂是为什么,最后在http://forums.dzone.com/eclipse/384-access-restriction-problems.html找到答案,只需要在project build path中先移除JRE System Library,再添加库JRE System Library,重新编译后就一切正常了。但是我仍然很疑惑是为什么。。。
原文见:http://zhoushuyan.cn/java/the-type-base64decoder-is-not-accessible-due-to-restriction-on-required-library/
Access restriction : The type BASE64Decoder is not accessible due to restriction on required library C:\Program
files\java\jre6\lib\rt.jar
Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on required library C:\Program files\java\jre6\lib\rt.jar
搞不懂是为什么,最后在http://forums.dzone.com/eclipse/384-access-restriction-problems.html找到答案,只需要在project build path中先移除JRE System Library,再添加库JRE System Library,重新编译后就一切正常了。但是我仍然很疑惑是为什么。。。
原文见:http://zhoushuyan.cn/java/the-type-base64decoder-is-not-accessible-due-to-restriction-on-required-library/
- The constructor BASE64Encoder() is not accessible due to restriction on required library
- The constructor BASE64Encoder() is not accessible due to restriction on required library
- The constructor BASE64Encoder() is not accessible due to restriction on required library
- The constructor BASE64Encoder() is not accessible due to restriction on required library
- The constructor BASE64Encoder() is not accessible due to restriction on required library的解决方法,经过测试正确
- The constructor BASE64Encoder() is not accessible due to restriction on required library的解决方法,经过测试正确
- Access restriction: The type BASE64Encoder is not accessible due to restriction on required library
- Access restriction: The type BASE64Encoder is not accessible due to restriction on required library
- The constructor BASE64Encoder() is not accessible due to restriction on required
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required library
- Access restriction: The type BASE64Encoder is not accessible due to restrict on required library
- Access restriction: The type BASE64Encoder is not accessible due to restrict on required library
- The constructor BASE64Decoder() is not accessible due to restriction on required library
- The constructor JButton(String) is not accessible due to restriction on required library C:\Program
- Eclipse报错Access restriction: The type BASE64Encoder is not accessible due to restriction on required
- 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 constructor SunJCE() is not accessible due to restriction on required librar
- hdu 3336 KMP之杭电next灵魂
- 吹吹BI
- Windows上使用Objective-C和Cocoa
- AIR Android应用开发实战
- mysql命令行执行时不输出列名(字段名)
- The constructor BASE64Encoder() is not accessible due to restriction on required library
- Thu Aug 04 00:00:00 CST 2011如何将这种格式的时间转换成2011-8-4
- iomanip常见用法
- hdu 1867 A + B for you again
- Hadoop的TaskTracker黑名单机制
- C++ 定义一个类会遇到的一些问题
- Riak 简介,第 2 部分: 将 Riak 集成为 Web 应用程序的重负荷缓存服务器
- 是男人就坚持30秒
- python中pylint使用方法(pylint代码检查)