Java--com.sun.crypto.provider.SunJCE()报错

报错内容:Access restriction: The constructor SunJCE() is not accessible due to restriction on required library C:\Program Files\Java\jre7\lib\ext\sunjce_provider.jar

解决方法:Window -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and restricted API -> Forbidden reference (access rules) -> Warnings


Java--com.sun.crypto.provider.SunJCE()报错_第1张图片

你可能感兴趣的:(Java)