after you startup your tomcat,  you type a concrete request url  in broswer, the tomcat probably will prompt you the subsequent message.

it is because the <security-constraint> will restrict the access and in need of authentication.

please comment the following tags named security-constraint in web.xml file of directory WEB-INF of your webapp. it will help you to solve the issue.

http://localhost:8080 is requesting your username and password

 

http://localhost:8080 is requesting your username and password

 

相关文章:

  • 2021-07-15
  • 2021-06-27
  • 2021-12-24
  • 2022-12-23
  • 2021-08-23
  • 2021-09-22
  • 2021-11-14
  • 2021-10-03
猜你喜欢
  • 2022-12-23
  • 2021-07-16
  • 2021-04-16
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2021-12-15
相关资源
相似解决方案