Server is not connected when trying to deploy with intellij

前端 未结 5 453
不知归路
不知归路 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:54

    Another possible reason could be that you manually run a standalone Wildfly apps server and copy your packages manually in its deployment folder.

    In this case Intellij tries to run Wildfly (even if you have stopped your manually run Wildfly) and to copy app's package for deployment. But there is already such a package in deployment folder.

    Remove myapp.ear or myapp.war from .../wildfly/standalone/deployments/ and Run or Debug from Intellij.

提交回复
热议问题