Application Server was not connected before run configuration stop, reason: Unable to ping…解决办法

Updated on in 系统 with 0 views and 0 comments

环境配置

  • window10
  • jdk-7u80
  • apache-tomcat-9.0.11

问题描述

今天通过idea 运行java项目提示:

Application Server was not connected before run configuration stop, reason:Unable to ping server at localhost:1099

问题原因

  • jdk版本tomcat版本不匹配,重要!重要!重要!
  • 通过官网的这张图,可以清楚的了解jdk与tomcat对应版本微信截图20191203134750.png

解决办法(二选一)

知道了问题的原因,那解决办法就是轻松加愉快了!

  • JDK1.7 升级JDK1.8
  • Tomcat-9.x 降级Tomcat-8.x

标题:Application Server was not connected before run configuration stop, reason: Unable to ping…解决办法
作者:dduan
地址:https://dduan.site/articles/2019/12/03/1575352505017.html