Server is not connected when trying to deploy with intellij

前端 未结 5 456
不知归路
不知归路 2020-12-15 05:24

I am trying to build, deploy and debug my webapp inside intellij.

I have setup my tomcat using this answer and I was able to get the server running. The issue is th

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-15 05:51

    (3.2) Set JRE_HOME or JAVA_HOME (required)

    These variables are used to specify location of a Java Runtime Environment or of a Java Development Kit that is used to start Tomcat.

    The JRE_HOME variable is used to specify location of a JRE. The JAVA_HOME variable is used to specify location of a JDK.

    Using JAVA_HOME provides access to certain additional startup options that are not allowed when JRE_HOME is used.

    If both JRE_HOME and JAVA_HOME are specified, JRE_HOME is used.

提交回复
热议问题