I didn’t pay attention to this problem before. I have been using Eclipse to do the WEB. Today, I changed a version of MyEclipse
After configuring MyEclipse and Tomcat, I used MyEclipse9.0 and Tomcat7.02 to prepare to run the project. After deploying Tomcat, I thought I could enter http://localhost:8080 in the browser and go all the way to Ext without any effort What is hateful is that when I entered the lovely panda Page and was rushing to the Manager Page, 430 appeared!
It’s not like the old master had a new problem, but it was a little sudden. Since MY English is not very good and I am a rookie, I know that the level is not enough. I need to reconfigure a tomcat-users. XML file in the Tomcat conf directory. But I do not know how to do after all did not configure ha ha so find Google Baidu wow a lot of ah the original error is just me. This makes me feel very gratified…. Ha ha
Found a lot of configuration to change a lot of but nothing…..
I ended up with this: I put the initial value in tomcat-users.xml
<user name=”main” password=”admain” roles=”main,manager” />
To:
<user name=”manager-gui” password=”admain” roles=”manager-gui,manager” />
< –! This user name must be the same as the user name in Tomcat webapps/manager/WEB-INF/web.xml.
I don’t know what the previous versions of Tomcat were, but I used 7.0 and I made the following summary:
After installing MyEclipse and Tomcat: some information is automatically configured in MyEclipse, of course I’m talking about my version, but I don’t know about the rest
All you need to do is change the username above and you can change the password if you want.
Through a variety of mistakes I suddenly feel that Java, not to mention the macro concept of even the Web are so extensive and profound it seems to learn a lifetime learning is not over!
I found a bunch of different solutions on the Internet for just one error 403 but each error is different so you can see how big it is
Hope to encounter this kind of error friends if using other methods to solve 403 also hope to leave a pen again let me learn to learn! Grateful…