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

在Linux上面关闭tomcat时,会出现找不到8005端口的错误

以上错误就是找不到8005端口,用命令确实查不到8005端口。

 

 

 解决办法:

vi /usr/java/jdk1.8.0_111/jre/lib/security/java.security    红色部分为jdk安装路径
将文件中的securerandom.source=file:/dev/random修改为securerandom.source=file:/dev/./urandom 两者区别就是红色部分

 

posted @ 2021-03-13 14:47  码到成功hy  阅读(948)  评论(0编辑  收藏  举报
获取

hahah

name age option