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

后端 未结 11 1906
旧时难觅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条回答
  •  执笔经年
    2020-12-04 10:11

    Well if you are using Netbeans in Linux, then you should look for the tomcat-user.xml in

    /home/Username/.netbeans/8.0/apache-tomcat-8.0.3.0_base/conf
    

    (its called Catalina Base and is often hidden) instead of the Apache installation directory.

    open tomcat-user.xml inside that folder, uncomment the user and roles and add/replace the following line.

        
    

    restart the server . That's all

提交回复
热议问题