1、JDK修改
修改JDK安装目录下的java.security文件
vim ${JAVA_HOME}/jre/lib/security/java.security
将如下配置
securerandom.source=file:/dev/random
改为
securerandom.source=file:/dev/urandom
2、Tomcat修改
修改tomcat9下conf的catalina.properties
将tomcat.util.scan.StandardJarScanFilter.jarsToSkip=后面加载的所有jar包删除
改为tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jar