title: Tomcat keeps asking for password and username
body: <p>Hi I am not sure I am trying to connect to apache server, this is a class I am taking, but now after I removed the code and restored it back to default, it keeps asking for the password now.</p>
  
  <p>This is what I have in my tomcat-users.xml</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;tomcat-users&gt;
  &lt;user username="ide" password="EiWnNlBG" roles="manager-script,admin"/&gt;
  &lt;/tomcat-users&gt;
  </code></pre>
  
  <p>also this is in tools ---> server ---> pass and user name.</p>
  
  <p>and error i get in output  </p>
  
  <pre><code>Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager-script" role in the Tomcat customizer in the Server Manager.
  See the server log for details.
  BUILD FAILED (total time: 6 seconds)
  </code></pre>
  
  <p>Only thing I changed was tomcat-users.xml  and web.xml  but I restored everything back to normal and still asking for username and password.</p>