在tomcat/conf/tomcat-users.xml加入如下脚本就可以了

 <role rolename="admin-gui"/>
        <role rolename="admin-script"/>
        <role rolename="manager-gui"/>
        <role rolename="manager-script"/>
        <role rolename="manager-jmx"/>
        <role rolename="manager-status"/>

<user username="你的用户名" password="你的密码" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-script,admin-gui"/>

重启tomcat就可以了

相关文章:

  • 2021-09-07
  • 2022-02-09
  • 2021-12-15
  • 2022-12-23
  • 2021-07-04
  • 2021-12-28
  • 2021-12-27
  • 2022-12-23
猜你喜欢
  • 2021-09-07
  • 2022-01-12
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案