MENU

SpringSecurity启动第一次访问非常慢

January 29, 2020 • Jakarta

找到JDK安装的路径
编辑 $JAVA_HOME/jre/lib/security/java.security
找到

securerandom.source=

将该代码

securerandom.source=file:/dev/random

修改为

securerandom.source=file:/dev/./urandom

该方案搜集自网络,暂做记录。

Archives QR Code
QR Code for this page
Tipping QR Code