Fork me on GitHub

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

解决方案

  1. 找到jdk目录'jdk1.7.0_79/jre/lib/security/",在该文件夹下打开编辑java.security文件(vi java.security)
  2. 将 "securerandom.source=file:/dev/random"
    修改为 "securerandom.source=file:/dev/./urandom "
  3. 重启tomcat就可以了

参考:
https://blog.csdn.net/Ferdinand_Du/article/details/89396975

posted @ 2020-08-26 11:12  秋夜雨巷  阅读(3089)  评论(0编辑  收藏  举报