Eclipse IDE for Java EE Developers (Win32)
: Http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/juno/SR1/eclipse-jee-juno-SR1-win32.zip
Tomcat 7
: Http://apache.etoak.com/tomcat/tomcat-7/v7.0.32/bin/apache-tomcat-7.0.32-windows-x86.zip
Question one: How to configure Tomcat
"Windows", "Preferences", "Server", "add"
Check your tomcat version and I'm under 7.
Find the Tomcat directory you downloaded
Mine is D:\apache-tomcat-7.0.32.
Question two: How to create a new Web project
The Web project in Eclipse Java EE is called Dynamic Web project
The others are the same as myeclipse.
Question three: Ask what I started the service after using a browser to access Tomcat report 404
After you create a new project, start it, select your new tomcat, and the page runs
However, when you open the Tomcat home page with your browser (htt://localhost:8080), it appears 404
And you found out that you didn't have a project under your Tomcat's webapp.
The cause of the problem is here
Open your Servers tab and double-click your tomcat.
See your Tomcat server locations selected first, that is, the Web runtime eclipse puts your project into that default folder, and that folder does not have the root file of the Tomcat home page
So there will be 404
We want the project to be automatically copied to Tomcat's webapp.
Here's the setting.
Remove the project from your tomcat if the above grey is not selected.
Question four: Tip 8005,8080,8009 Port is occupied
Very inexplicable problem, sometimes out, if you run into the Task Manager, force the end of the JAVAW process.
Configuration of Eclipse Java EE