tomcat7 maven插件发布错误

时间:2015-10-29 09:29:22

标签: java maven tomcat tomcat7-maven-plugin

我正在尝试使用mvn tomcat7:deploy。每件事都运行良好,它正在部署应用程序,但在日志文件中显示

  

失败 - 无法部署应用程序......

插件如何检查部署是否成功

[INFO] Building war: /home/ali.XXXX/XXXX-XXXX/target/XXXX-0.0.3-SNAPSHOT.war
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.2.5.RELEASE:repackage (default) @ XXXX ---
[INFO] 
[INFO] <<< tomcat7-maven-plugin:2.2:deploy (default-cli) < package @ XXXX <<<
[INFO] 
[INFO] --- tomcat7-maven-plugin:2.2:deploy (default-cli) @ XXXX ---
[INFO] Deploying war to https://app.XXXX.com/ROOT/#20151029083954  
Uploading: https://app.XXXX.com/manager/text/deploy?path=%2FROOT%2F%2320151029083954
Uploaded: https://app.XXXX.com/manager/text/deploy?path=%2FROOT%2F%2320151029083954 (40309 KB at 13512.7 KB/sec)

[INFO] tomcatManager status code:200, ReasonPhrase:OK
[INFO] FAIL - Failed to deploy application at context path /ROOT/#20151029083954
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.053 s
[INFO] Finished at: 2015-10-29T08:40:27+00:00
[INFO] Final Memory: 35M/356M
[INFO] ------------------------------------------------------------------------

0 个答案:

没有答案