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

前端 未结 5 1166
轻奢々
轻奢々 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:20

    In my case, Intellij IDEA doesn't support run tomcat8 installed from linux repositories. /usr/share/tomcat/bin/catalina.sh start (not support) /usr/share/tomcat/bin/catalina.sh run (supported)

    Only tomcat8 installed from official website. I tried with distribution downloaded from http://tomcat.apache.org/download-80.cgi. So I got successful results.

    The reason is in the catalina.sh file from linux distribution, where there isn't "run" command. But in the tomcat downloaded there is "run" command. catalina.sh_InstalledFromLinuxRepository

提交回复
热议问题