Idea tomcat启动bug记录

今天项目突然启动不了。报

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

 

控制台打出原因是:

The JRE_HOME environment variable is not defined correctly This environment

解决方式是:

添加

set JAVA_HOME=D:\environment\java\jdk1.8\jdk1.8.0_91
set JRE_HOME=D:\environment\java\jdk1.8\jdk1.8.0_91\jre

Idea tomcat启动bug记录_第1张图片

你可能感兴趣的:(java_其它)