Mac下配置tomcat管理用户

2017-08-20  本文已影响8人  faterman
image.png

配置这个文件即可,内容有注释可以参考。
遇到问题,手动配置不能登录,需完全复制一份配置内容。
可能是编辑器编码问题。

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" 
version="1.0"> 
<role rolename="manager-gui"/> 
<role rolename="admin-gui"/> 
<user username="admin" password="admin" roles="manager-gui,admin-gui"/> 
</tomcat-users>  
上一篇 下一篇

猜你喜欢

热点阅读