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

后端 未结 11 1938
旧时难觅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:33

    Follow my steps and be happy:

    1.- When you are configuring Netbeans for the first time, they will ask you for a "user" and "pass" for the Catalina-Server.

    2.- Type whatever "user" and "pass" . This will modify your "tomcat-users.xml" and will add:

    user password="MYPASS" roles="manager-script,admin,tomcat" username="MYUSER"

    3.- To use this "user" just restart your TOMCAT WEB SERVER and NETBEANS.

提交回复
热议问题