慧强杨 2016-08-01 02:00 采纳率: 0%
浏览 2665

maven deploy Tomcat失败

maven 远程部署Tomcat失败。


 [INFO] <<< tomcat7-maven-plugin:2.2:deploy (default-cli) < package @ hui-web <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:deploy (default-cli) @ hui-web ---
[INFO] Deploying war to http://192.168.182.128:8081/myhui
Uploading: http://192.168.182.128:8081/manager/html/deploy?path=%2Fmyhui
2078/33441 KB
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://192.168.182.128:8081/manager/html/deploy?path=%2Fmyhui
2102/33441 KB
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://192.168.182.128:8081/manager/html/deploy?path=%2Fmyhui
2062/33441 KB
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://192.168.182.128:8081/manager/html/deploy?path=%2Fmyhui
2072/33441 KB
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.202 s
[INFO] Finished at: 2016-08-01T09:59:39+08:00
[INFO] Final Memory: 32M/433M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project hui-web: Cannot invoke Tomcat manager: Connection reset by peer: socket write error -> [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/MojoExecutionException


  • 写回答

4条回答 默认 最新

  • 大__淼 2016-08-01 02:21
    关注

    有可能是pom中依赖的资源 下载较慢 或者 就下载不下来

    评论

报告相同问题?

悬赏问题

  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题