0

I am using IntelliJ and I have created a new SpringProjekt with the maven Archetype co:ntier spring-mv-archetyp. Now I want to deploy the project on a Tomcat 9 Server but this is not working. I am getting the following Stacketrace:

Connected to server
[2018-05-18 10:22:43,232] Artifact games:war exploded: Artifact is being deployed, please wait...
[2018-05-18 10:22:43,232] Artifact games:war: Artifact is being deployed, please wait...
[2018-05-18 10:22:43,238] Artifact games:war exploded: Error during artifact deployment. See server log for details.
[2018-05-18 10:22:43,238] Artifact games:war exploded: com.intellij.javaee.oss.admin.jmx.JmxAdminException: com.intellij.execution.ExecutionException: C:\Users\Tobi\IdeaProjects\games\target\games not found for the web module.
[2018-05-18 10:22:43,244] Artifact games:war: Error during artifact deployment. See server log for details.
[2018-05-18 10:22:43,245] Artifact games:war: com.intellij.javaee.oss.admin.jmx.JmxAdminException: com.intellij.execution.ExecutionException: C:\Users\Tobi\IdeaProjects\games\target\games.war not found for the web module.
18-May-2018 22:22:52.920 INFORMATION [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [E:\entwicklung\apache-tomcat-9.0.8\webapps\manager]
18-May-2018 22:22:53.139 INFORMATION [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [E:\entwicklung\apache-tomcat-9.0.8\webapps\manager] has finished in [218] ms

Thank you for your help and I hope someone can help me.

tk3
  • 990
  • 1
  • 13
  • 18
gigashark
  • 29
  • 9

1 Answers1

0

Artifact build step is missing here, therefore the output directory is empty and there is nothing to deploy.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904