Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin: 2.0-SNAPSHOT:

[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin: 2.0-SNAPSHOT:deploy (default-cli) on project helloworld: Cannot invoke Tomcat manager: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/text/deploy?path=%2Fhelloworld -> [Help 1]

(1)这种情况问题一般是由于权限的问题,查看 tomcat 中 conf/tomcat-users.xml 中user标签的权限


(2)如果没有401错误,可能是端口出问题

你可能感兴趣的:(运维)