Pessoal, bom dia
precisei reinstalar meu servidor tomcat, mas minha aplicação não abre mais: veja o erro.
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.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:232)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.refle …
o arquivo tomcat.users.xml está ok.
Ao registrar o servidor no netBeans, deixei o usuário e senha como estão no arquivo xml acima:
vejam o arquivo xml:
<user name=“root” password=“root” roles=“admin-gui,manager-gui,manager-script,admin”/>
</tomcat-users>
Então por que a autenticação não é autorizada ?