gpt4 book ai didi

tomcat8 : Unable to enter/manager/html

转载 作者:行者123 更新时间:2023-11-28 22:50:52 24 4
gpt4 key购买 nike

这是我的 tomcat-users.xml 文件:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users xmlns="http://tomcat.apache.org/xml"
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"/>
<user username="admin" password="admin" roles="manager-gui,manager-script,manager-jmx,manager-status"/>
</tomcat-users>

当我在浏览器中输入 localhost:8080/manager/html 时,我得到一个输入框,要求我输入用户名和密码,我为两者输入“admin”并单击“登录”,它只是忽略了我的请求.

你知道问题出在哪里吗?

最佳答案

至少,将您的配置更改为:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users xmlns="http://tomcat.apache.org/xml"
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="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="admin" password="admin" roles="manager-gui,manager-script,manager-jmx,manager-status"/>
</tomcat-users>

关于tomcat8 : Unable to enter/manager/html,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39937941/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com