需要在tomcat-users.xml文件加
<role rolename=”tomcat”/>
<role rolename=”role1″/>
<role rolename=”manager-script”/>
<role rolename=”manager-gui”/>
<role rolename=”manager-status”/>
<role rolename=”admin-gui”/>
<role rolename=”admin-script”/>
<user username=”admin” password=”123456″ roles=”manager-gui,manager-script,tomcat,admin-gui,admin-script”/>
版权声明:本文为a857879531原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。