Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将用户添加到
【tomcat安装】/conf/tomcat-users.xml
通过添加以下内容:
<role rolename="manager-gui"/> <user username="tomcat" password="tomcat" roles="manager-gui"/>
它工作得很好,但是在我停止/重新启动我的服务器后,我的那个小编辑就完全消失了,我必须重做它。有人知道为什么会发生这种情况吗?
Eclipse 接管了 Tomcat 的配置,所以尝试tomcat-users从 eclipse 中编辑。在Servers包资源管理器中的文件夹下
tomcat-users
Servers