1. 程式人生 > >IDEA:Application Server was not connected before run configuration stop, reason: Unable to ping...

IDEA:Application Server was not connected before run configuration stop, reason: Unable to ping...

最近第一次玩IDEA時碰到tomcat啟動問題:Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099

解決方案:

intellij新增tomcat時,有個jre 版本的選擇,這個版本要選擇你配了環境變數的版本,(我這之前預設是Module下的)如下圖所示。改完即可成功啟動了。