掉渣哥的gravatar头像
掉渣哥 2017-07-01 12:46:02

maven工程下在pom.xml中配置tomcat7-maven-plugin插件为什么启动报错?

maven工程的pom.xml 

tomcat7配置:

maven工程下在pom.xml中配置tomcat7-maven-plugin插件为什么启动报错?

生成的插件:

maven工程下在pom.xml中配置tomcat7-maven-plugin插件为什么启动报错?

deploy启动报错:

maven工程下在pom.xml中配置tomcat7-maven-plugin插件为什么启动报错?

详细报错信息:

[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部署可以启动。插件启动就报错。

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

求大神帮忙

所有回答列表(2)
sayHelloWorld的gravatar头像
sayHelloWorld  LV22 2017年7月3日

http://blog.csdn.net/binyao02123202/article/details/17793233

偷颗菜抱回家的gravatar头像
偷颗菜抱回家  LV14 2017年7月4日

确认配置有没问题,没问题的话,看下端口号是否有冲突吧

顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友