1.修改jdk目錄下的java.security文件java
vim /usr/lib/jvm/jdk1.8.0/jre/lib/security/java.securityvim
將以下配置
securerandom.source=file:/dev/randomtomcat
改成
securerandom.source=file:/dev/urandomdom
2.修改tomcat9下conf的catalina.propertiesjvm
將tomcat.util.scan.StandardJarScanFilter.jarsToSkip=後面加載的jar包刪除ip
改成tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jarit