解决办法:在官方网站下载JCE无限制权限策略文件,将下载文件中两jar文件复制替换到%JAVA_Home%/jre/lib/security下
jdk7 官网下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
百度云下载地址:链接:http://pan.baidu.com/s/1hrFEePI 密码:z0k5
jdk8 官网下载地址: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
百度云下载地址:链接:http://pan.baidu.com/s/1miwPqVQ 密码:6897