📅  最后修改于: 2022-03-11 14:59:13.383000             🧑  作者: Mango
in your tomcatusers.xml , for the user maven you have role "managerscript" , change it to manager-script. Also if you are running maven from a different machine apart from where tomcat is, please use the ip address of the machine and make sure the port 8080 is open for communication.