Server is not connected. Deploy is not available. IntelliJ 13 and Tomcat 7

前端 未结 5 1160
轻奢々
轻奢々 2021-01-18 10:49

Trying to run my app with IntelliJ 13 and Apache tomcat 7.0.42. JDK1.6

Always getting the error Artifact app:war exploded: Server is not connected. Deploy is

5条回答
  •  隐瞒了意图╮
    2021-01-18 11:21

    tomcat-7.0-doc RUNNING

    (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.

提交回复
热议问题