慧强杨 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 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题