Access restriction: The constructor SunJCE() is not accessible due to restriction on required librar
来源:互联网 发布:行业数据分析网站 编辑:程序博客网 时间:2024/06/08 05:27
在eclipse中使用了Security.addProvider(new com.sun.crypto.provider.SunJCE()),会提示如下错误:Access restriction: The constructor SunJCE() is not accessible due to restriction on required library J:\jdk\jre\lib\ext\sunjce_provider.jar
访问限制:由于J:\jdk\jre\lib\ext\sunjce_provider.jar库的限制,SunJCE() 构造函数不可访问。
在网上搜了一下,解决办法是修改编译选项,方法如下:Window -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and restricted API -> Forbidden reference (access rules) -> Warnings或者Ignore即可。
0 0
- 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
- 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 library
- Access restriction: The type SunJCE is not accessible due to restriction on required
- Access restriction: The constructor SunJCE() is not accessible due to
- 明明jdk中有可还还是找不Access restriction: The constructor SunJCE() is not accessible due to restriction on re
- Access restriction: The type xxx is not accessible due to restriction on restriction on required l
- [Java] Access restriction: The type FtpClient is not accessible due torestriction on required librar
- android 3des加密Access restriction: The constructor SunJCE() is not accessible due to restrictio
- android 3des加密Access restriction: The constructor SunJCE() is not accessible due to restrictio
- Access restriction: The constructor CachedRowSetImpl()is not accessible due to restriction on requie
- Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on require
- Access restriction: The type XXX is not accessible due to restriction on required library XXX
- 解决办法:Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required
- 解决Access restriction: The type XXXX is not accessible due to restriction on required library
- xampp本地Discuz!X1.5 X2.0伪静态开启
- django rest framework 入门2——Request and Response
- Android的Android-NDK+sdk的环境搭建和使用方法,开发
- 半透明AlphaBlend 实现界面或某块资源的半透明
- 再发一篇
- Access restriction: The constructor SunJCE() is not accessible due to restriction on required librar
- hashcode和equals
- 新人该如何学习网络营销?
- HTML5逆天:65行JS代码实现的Flappy Bird
- 通过Ant将Android project编译打包成APK文件并安装到手机
- dlopen 与dlsym
- linux uname命令参数及用法详解(linux查看系统信息命令)
- oracle闪回版本和闪回事务查询 详解
- Instr 带来的BUG