关于maven的tomcat7插件之deploy命令I/O exception
2017-06-12 11:41
549 查看
[INFO] --- tomcat7-maven-plugin:2.2:deploy (default-cli) @ RestApi ---
[INFO] Deploying war to http://localhost:8080/
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
这个是因为在webapps下已经存在了这个项目。无法执行覆盖更新命令,需要执行redeploy命令才可以覆盖更新。或者执行undeploy先卸载存在的项目,然后再执行deploy即可。
[INFO] Deploying war to http://localhost:8080/
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2F
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
这个是因为在webapps下已经存在了这个项目。无法执行覆盖更新命令,需要执行redeploy命令才可以覆盖更新。或者执行undeploy先卸载存在的项目,然后再执行deploy即可。
相关文章推荐
- 关于maven的tomcat7插件之deploy命令I/O exception
- 关于maven的tomcat7插件之deploy I/O 异常
- Maven使用tomcat7-maven-plugin插件run时出现错误: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component
- 关于在maven下使用tomcat:run命令显示PermGen space异常
- 关于maven和tomcat命令,maven项目编译不到tomcat下问题
- maven项目pom.xml中tomcat插件的关于端口号问题
- 关于maven配置tomcat插件启动的问题
- 关于使用maven tomcat插件运行项目的问题
- 关于Eclipse Maven插件常用命令
- maven学习(2):常用命令及tomcat插件和jetty插件部署
- maven中tomcat7-maven-plugin插件的使用
- tomcat启动时ClassNotFoundException, tomcat加载机制 eclipse tomcat插件sysdeo.eclipse.tomcat_3.3.0
- Maven学习六之利用mvn deploy命令上传包
- 解决使用tomcat7-maven-plugin插件时 “Application already exists at path”的问题
- 使用Maven的antrun插件启动Tomcat的两种方法
- Maven的tomcat插件tomcat-maven-plugin
- maven常用插件和mvn test命令
- maven3常用命令及eclipse插件地址
- Hot Deploy In Tomcat(maven)
- How to create a Maven web app and deploy to Tomcat - fast