2017-10-22 09:10
[INFO] Deploying war to http://localhost:8080/
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
1338/5775 KB
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
8/5775 KB
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
90/5775 KB
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
14/5775 KB
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.864 s
[INFO] Finished at: 2015-12-15T07:54:14+00:00
[INFO] Final Memory: 13M/33M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-c li) on project nhj: Cannot invoke Tomcat manager: Broken pipe -> [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 a rticles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
----------------------------------------------------------------------------------------------------------------------------------------------
몇일간 구글링을 통하여 자문을 구하였으나
뻔한 세팅 내용만 나오는 것이었다…
tomcat-users, settings.xml, pom.xml 설정…
아닙니다… server.xml 내에 ROOT 컨텍스트가 ”/” 경로를 사용하여 등록되어있어 디플로이가 안되고 있음…
context path의 경로를 주석처리하고 또.. ROOT 폴더는 자동 ”/“경로를 사용하므로 webapps 폴더 내 ROOT 폴더를 옮겨놓도록…
이후 디플로이, 리 디플로이에 성공할 수 있었다… ㅎㅎㅎ
mvn tomcat7:redeploy