1. 程式人生 > >http://localhost:8080 is requesting your username and password

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

ifg cxf sep eat iuc wpf srm UC rtg

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 this tags 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