服务器http:/localhost:8080需要用户名和密码.服务器说:XDB [英] Server http:/localhost:8080 requires a user name and a password. The server says: XDB
问题描述
我正在尝试访问localhost:8080,但显示我需要输入用户名和密码.我记得大约4个月前,当我试图开发Web应用程序并将域名托管在我的PC上时,弄乱了服务器,不幸的是,我失败了.在使用servlet时,我尝试了一些安全功能,直到一段时间后我才看到,在这些弹出窗口中要求进行身份验证.
I am trying to access localhost:8080 but it is showing me I need to enter user name and pass word. I remember messing up with the server some 4 months ago while I was trying to develop a web application and hosting my domain name on my pc, Unfortunately I become unsuccessful. While working with servlets I was tring some security features and till some time i did not see and of these pop up windows asking for authentication.
我试图输入我正在使用的密码,但是没有一个可以使用.无论如何,我可以摆脱这个问题吗?
I tried to enter the password that I was playing with but non of those are working. Is there anyway i could get out of this problem?
推荐答案
这是http身份验证.您可以在users.xml WEB-INF目录(如果有)中找到用户名和密码.否则,您必须编辑或从web.xml文件中删除security-constraint
元素
This is http authentication. You can find username and password inside users.xml WEB-INF directory if any. otherwise you have to edit or remove security-constraint
element from web.xml file
更新 对不起, 我没有注意到XDB.检查Oracle和tomcat是否使用相同的端口.更新其中的任何人
UPDATE Sorry, I haven't noticed XDB. check if Oracle and tomcat using same port. Update anyone of them
这篇关于服务器http:/localhost:8080需要用户名和密码.服务器说:XDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!