tomcat启动不了,查看日志卡在某个地方org.apache.catalina.startup.HostConfig.deployDirectory Deploying web applicatio

tomcat启动一直卡在:
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/GTL_SERVICE/apache-tomcat-8.5.33/webapps/docs]

解决:
找到jdk1.x.x_xx/jre/lib/security/java.security文件,在文件中找到securerandom.source这个设置项,将其改为:
securerandom.source=file:/dev/./urandom

参考:
https://blog.csdn.net/njchenyi/article/details/46641141
https://blog.csdn.net/qq_38293564/article/details/80395389

你可能感兴趣的:(tomcat)