SEVERE: Could not contact localhost 8005. Tomcat may not be running.解决办法

柔光的暖阳◎ 2021-11-23 02:18 822阅读 0赞

centos中tomcat关闭失败报错

SEVERE: Could not contact localhost 8005. Tomcat may not be running.

在这里插入图片描述

解决办法:
jdk目录下的 jdk18/jre/lib/security/java.security文件

  1. 原:securerandom.source=file:/dev/random
  2. 改:securerandom.source=file:/dev/./urandom

在这里插入图片描述
重新 shutdown startup 即可完成

发表评论

表情:
评论列表 (有 0 条评论,822人围观)

还没有评论,来说两句吧...

相关阅读