How do I set Tomcat Manager Application User Name and Password for NetBeans?

后端 未结 11 1918
旧时难觅i
旧时难觅i 2020-12-04 09:46

I\'m trying to follow a tutorial to make an extremely basic Java web application in NetBeans.

When I try to run it, a dialogue box appears title \"Authentication Req

11条回答
  •  萌比男神i
    2020-12-04 10:10

    Use something like this to update your tomcat users.

    
    
    

    Tomcat users file is located inside conf folder of tomcat installation. To find the path of catalina_base you can use the command: ps aux | grep catalina You can find one of the values -Dcatalina.base=/usr/local/Cellar/tomcat/9.0.37/libexec

    Most Important:

    Don't forget to remove the comment lines from the tomcat-users.xml just before the start of the roles.

提交回复
热议问题