Access restriction: The constructor SunJCE() is not accessible 错误
程序员文章站
2024-01-15 12:34:34
...
Access restriction: The constructor SunJCE() is not accessible 错误
Access restriction: The type 'SunJCE' is not API (restriction on required library 'C:\Program Files\Java\jdk1.8.0_45\jre\lib\ext\sunjce_provider.jar')
Access restriction: The constructor SunJCE() is not accessible due to restriction on required library D:\Program files\jdk1.6.0_07\jre\lib\ext\sunjce_provider.jar
Access restriction: The type SunJCE is not accessible due to restriction on required library D:\Program files\jdk1.6.0_07\jre\lib\ext\sunjce_provider.jar
解决办法:修改编译选项,步骤如下:Window -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and restricted API -> Forbidden reference (access rules) -> Warnings或者Ignore即可。
原版:http://www.cnblogs.com/fiyxiang/p/5652836.html
Access restriction: The type 'SunJCE' is not API (restriction on required library 'C:\Program Files\Java\jdk1.8.0_45\jre\lib\ext\sunjce_provider.jar')
Access restriction: The constructor SunJCE() is not accessible due to restriction on required library D:\Program files\jdk1.6.0_07\jre\lib\ext\sunjce_provider.jar
Access restriction: The type SunJCE is not accessible due to restriction on required library D:\Program files\jdk1.6.0_07\jre\lib\ext\sunjce_provider.jar
解决办法:修改编译选项,步骤如下:Window -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and restricted API -> Forbidden reference (access rules) -> Warnings或者Ignore即可。
原版:http://www.cnblogs.com/fiyxiang/p/5652836.html
上一篇: 彻底干掉挖孔!中兴Axon 30屏下至臻版来了:9月开卖
下一篇: 一点感悟(三)历程
推荐阅读
-
Access restriction: The constructor SunJCE() is not accessible 错误
-
Eclipse 编译错误 Access restriction:The type *** is not acce
-
Eclipse 编译错误 Access restriction:The type *** is not acce
-
Java IDE中Access restriction错误的修订
-
Access restriction: The type BASE64Encoder is not accessible due to restrict
-
Access restriction: The type BASE64Encoder is not accessible due to restrict
-
Access restriction: The type BASE64Encoder is not accessible due to restrict
-
Access restriction: The type BASE64Encoder is not accessible due to restrict
-
Access restriction: The constructor SunJCE() is not accessib