解决方法: 打开$JAVA_HOME/jre/lib/security/java.security这个文件将securerandom.source=file:/dev/random 修改为 securerandom.source=file:/dev/urandom