joy460154849 2018-01-06 08:51 采纳率: 0%
浏览 1709
已结题

maven使用cargo插件自动部署到tomcat8报错

[INFO] Installing /Users/lixiuming/project/MarkFriends/pom.xml to /Users/lixiuming/Documents/repository/com/atguigu/maven/MarkFriends/0.0.1-SNAPSHOT/MarkFriends-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] --- cargo-maven2-plugin:1.4.13:run (cargo-run) @ MarkFriends ---
[INFO] No container defined, using a default [jetty7x, installed] container
[INFO] [en2.ContainerRunMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-jetty:jar:1.4.13 for container jetty7x
[INFO] [talledLocalContainer] Jetty 7.6.16.v20140903 starting...
[INFO] [stalledLocalDeployer] The undeployment phase of the redeploy action has failed: org.codehaus.cargo.container.ContainerException: Not supported
[WARNING] [talledLocalContainer] org.codehaus.cargo.container.ContainerException: Failed to create a Jetty 7.6.16.v20140903 existing configuration
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.772 s
[INFO] Finished at: 2018-01-06T16:48:32+08:00
[INFO] Final Memory: 15M/174M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:run (cargo-run) on project MarkFriends: Execution cargo-run of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:run failed: Failed to create a Jetty 7.6.16.v20140903 existing configuration: Failed to deploy [/Users/lixiuming/project/MarkFriends/target/AtgtuiguWeb.war] to [/Users/lixiuming/Downloads/apache-tomcat-8.0.38/webapps]: Failed to create file [/Users/lixiuming/Downloads/apache-tomcat-8.0.38/contexts/AtgtuiguWeb.xml]: No such file or directory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

  • 写回答

1条回答

  • devmiao 2018-01-06 12:14
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog