Tomcat报错SEVERE: Could not contact [localhost:[8005]]. Tomcat may not be running.
问题
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
如果这篇文章对你有用,可以关注本人微信公众号获取更多ヽ(^ω^)ノ ~
![微信公众号二维码](https://images.cnblogs.com/cnblogs_com/aeolian/1679458/o_wechat_gzh_qrcode.jpg)