Server is not connected when trying to deploy with intellij

前端 未结 5 457
不知归路
不知归路 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 06:13

    I meet this problem when try to import a project from eclipse to IDEA.

    My solution is, delete the .idea folder, re-import the whole project. I don't know what's the accurate cause of this problem, but is works for me.

    Now the log looks like that:

    /Library/Tomcat/bin/catalina.sh run
    
    [2015-09-22 12:40:57,906] Artifact bookstore:war exploded: Server is not connected. Deploy is not available.
    XXXXXX
    Connected to server
    [2015-09-22 12:40:58,848] Artifact bookstore:war exploded: Artifact is being deployed, please wait...
    XXXXXX
    [2015-09-22 12:41:07,862] Artifact bookstore:war exploded: Artifact is deployed successfully
    [2015-09-22 12:41:07,863] Artifact bookstore:war exploded: Deploy took 9,015 milliseconds
    

提交回复
热议问题