打开TOMCAT conf/tomcat-users.xml文件
删除里面所有的内容,然后加入:
<?xml version='1.0' encoding='utf-8'?><tomcat-users><role rolename="manager"/><user username="admin" password="7788119" roles="manager"/></tomcat-users>
重新启动TOMCAT就行了