1. 程式人生 > >關於tomcat Manager APP 登入

關於tomcat Manager APP 登入

本人菜鳥,發現百度上關於tomcat Manager APP的登入闡述都有點舊

我搞半天才搞好

//tomcat-9.0.11版本

寫幾個小提示

1.修改conf/tomcat-users.xml的時候記得把<!-- -->刪掉

tomcat/login
標題

2.新增manager-gui角色

百度上有些寫的是新增manager角色

我沒試過

但其實檔案裡面有寫一段話

  NOTE:  By default, no user is included in the "manager-gui" role required
  to operate the "/manager/html" web application.  If you wish to use this app,
  you must define such a user - the username and password are arbitrary. It is
  strongly recommended that you do NOT use one of the users in the commented out
  section below since they are intended for use with the examples web
  application.

3.重啟tomcat