问题
Tomcat启动停留在deploy第一个项目关闭时报错SEVERE: Could not contact [localhost:[8005]]. Tomcat may not be running.
环境
JDK1.7
Tomcat1.7
Mysql5.7
解决方案
- 找到jdk目录'jdk1.7.0_79/jre/lib/security/",在该文件夹下打开编辑java.security文件(vi java.security)
- 将 "securerandom.source=file:/dev/random"
修改为 "securerandom.source=file:/dev/./urandom " - 重启tomcat就可以了
参考:
https://blog.csdn.net/Ferdinand_Du/article/details/89396975