Tomcat deployement issue in a Maven project

后端 未结 4 632
执念已碎
执念已碎 2021-01-25 04:49

I have been trying to create a simple maven web based project to be confident about maven. I have added tomcat7 plugin in my pom.xml to use it as a server. But when i started to

4条回答
  •  囚心锁ツ
    2021-01-25 05:37

    This error message

    [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.0:deploy  (default-cli) on project MavenWeb: Cannot invoke Tomcat manager: Connection to http://127.0.0.1:8080 refused: Connection refused -> [Help 1]
    

    insinuates this is authentication related. Try and change this

    
    
    

    to

    
    
    

    Access from the maven plugin will not happen over the browser based admin client :)

提交回复
热议问题