Maven Web project build failed

Source: Internet
Author: User
Tags stack trace connection reset

Publish Web projects through MAVEN build to the Tomcat times following exceptions:

[INFO]------------------------------------------------------------------------[INFO] BUILD Failure[info]------------------------------------------------------------------------[INFO] Total time:4.671S[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--[He LP 1][error] [ERROR] to see the full stack trace of the errors, re-run Maven with The-eSwitch. [ERROR] Re-run Maven using The-xSwitchTo enable full debug logging. [ERROR] [ERROR] For more information on the errors and possible solutions, please read the following articles:[error] [ Help1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception

The reasons are:

1. Check if the settings for permissions are added under the <tomcat-users> node in Conf/tomcat-users.xml under the Tomcat installation directory
2. The server's account and password are correct in the Conf/settings.xml in the MAVEN installation directory

For more details see: Maven Publishing Web project to Tomcat

Maven Web project build failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.