【问题标题】:Deployment of generated Maven Spring Projekt doesnt work生成的 Maven Spring 项目的部署不起作用
【发布时间】:2018-10-29 08:21:53
【问题描述】:

我正在使用 IntelliJ,并使用 maven Archetype co:ntier spring-mv-archetyp 创建了一个新的 SpringProjekt。现在我想在 Tomcat 9 服务器上部署项目,但这不起作用。我得到以下 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

感谢您的帮助,希望有人能帮助我。

【问题讨论】:

标签: spring tomcat intellij-idea deployment


【解决方案1】:

工件构建步骤为missing here,因此输出目录为空,没有可部署的内容。

【讨论】:

    猜你喜欢
    • 2019-03-25
    • 1970-01-01
    • 2016-12-07
    • 2023-03-29
    • 2013-04-25
    • 2017-02-02
    • 1970-01-01
    • 2016-10-30
    • 2017-07-06
    相关资源
    最近更新 更多