tomcat7配置用户时,与tomcat6不同。
会有一个错误。
1、tomcat不配置conf/tomcat-users.xml或者配置不对时。会发生以下错误:
<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>
Note that for Tomcat 7 onwards, the roles required to use the manager application were changed from the single manager role to the following four roles. Y
会有一个错误。
1、tomcat不配置conf/tomcat-users.xml或者配置不对时。会发生以下错误:
点击这三个功能时:
报一下错误:
2、tomcat配置conf/tomcat-users.xml:
<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>
Note that for Tomcat 7 onwards, the roles required to use the manager application were changed from the single manager role to the following four roles. Y