Maven工程配置tomcat7-maven-plugin,启动报错,求大神

掉渣哥 发布于 2017/07/01 12:51
阅读 424
收藏 0

maven工程的pom.xml 

tomcat7配置:

生成的插件:

deploy启动报错:

详细报错信息:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 8.554 s

[INFO] Finished at: 2017-07-01T12:41:00+08:00
[INFO] Final Memory: 17M/176M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project shiro: Cannot invoke Tomcat manager: Connection refused: connect -> [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

Process finished with exit code 1

附:项目的maven已经配置

另外用tomcat部署可以启动。插件启动就报错。

=========综上==========

求大神帮忙

 

加载中
返回顶部
顶部