tomcat启动失败,提示信息:Unable to ping server at localhost:1099

时间:2021-06-04 20:12:20

今天测试springMVC restful风格,我使用的是idea

一开始是java7+tomcat7正常启动

使用tomcat9的时候,启动失败, 

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

之后配置了java8环境,使用java8+tomcat9就可以正常启动了,嘻嘻