博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
maven web项目build失败
阅读量:6984 次
发布时间:2019-06-27

本文共 1114 字,大约阅读时间需要 3 分钟。

  通过maven build发布web项目到tomcat时报如下异常:

[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 4.671 s[INFO] Finished at: 2015-11-23T15:51:07+08:00[INFO] Final Memory: 16M/310M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:deploy (default-cli) on project spring-security-cas: 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

  原因为:

    1、检查tomcat安装目录下的conf/tomcat-users.xml中的<tomcat-users>节点下是否添加了权限的设置

    2、maven安装目录下的conf/settings.xml中server的账号和密码是否正确

  更多详情见:

转载地址:http://rtmpl.baihongyu.com/

你可能感兴趣的文章
数据仓库分层ODS DW DM 主题 标签
查看>>
导航,头部,CSS基础
查看>>
英文seo外链资源整合,怎么样找国外博客资源?
查看>>
Windows Phone 7“芒果”更新带来浏览器重大升级:IE Mobile 9
查看>>
一起谈.NET技术,VS2010测试功能之旅:编码的UI测试(2)-操作动作的录制原理(下)...
查看>>
java springcloud版b2b2c社交电商spring cloud分布式微服务-docker-feign(四)
查看>>
浅谈Junit测试中反射和Jmock的应用
查看>>
STM32速度---网页讲解
查看>>
CV图像处理:
查看>>
python常见数据存储 csv txt pickle
查看>>
公司技术部门内部的发展变化过程。
查看>>
uda 3.C++二维向量
查看>>
Web Service概念梳理
查看>>
【FBA】SharePoint 2013自定义Providers在基于表单的身份验证(Forms-Based-Authentication)中的应用...
查看>>
C++指针和数组的区别(不能混用的情况)
查看>>
javascript学习总结1
查看>>
第三章 使用Servlet处理HTTP响应
查看>>
spring注解controller示例
查看>>
libxml中用到的Xpath语法说明
查看>>
我的cookie读写
查看>>