Tomcat关闭失败,SEVERE: Could not contact localhost:8005. Tomcat may not be running.

时间:2023-01-21 06:56:50

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

Tomcat 启动后,关闭失败,显示以下

Tomcat关闭失败,SEVERE: Could not contact localhost:8005. Tomcat may not be running.

进入 java 的安装目目录下的  jdk/jre/lib/security 目录

Tomcat关闭失败,SEVERE: Could not contact localhost:8005. Tomcat may not be running.

修改 “java.security” 文件

vi java.security

       通过vim 命令 “ /securerandom.source ”,查找这个位置,回车

Tomcat关闭失败,SEVERE: Could not contact localhost:8005. Tomcat may not be running.

修改为以下

Tomcat关闭失败,SEVERE: Could not contact localhost:8005. Tomcat may not be running.

保存退出, 再重启,关闭显示完成

Tomcat关闭失败,SEVERE: Could not contact localhost:8005. Tomcat may not be running.

------------ 打赏码 ---------------------

Tomcat关闭失败,SEVERE: Could not contact localhost:8005. Tomcat may not be running.