Description
"The computer has installed Eclipse
"The computer has Tomcat installed
"To make sure Tomcat starts normally .
"The eclipse version in the commentary is 3.6.
"The Tomcat version in the commentary is 6.0.18.
1. Configuring Tomcat in Eclipse
The startEclipse "---menu, in theWindows "--【preferences "--" server "--" runtime environment "---" --" Select the appropriate version, next " Span style= "Font-family:times New Roman;" >--"browse" --"Select the appropriate Span style= "Font-family:times New Roman;" >jre "---" finish "--"ok"
2. Create a new Server in Eclipse
First to have the above Control Panel, no words can be found in Windows---Show view--other .
To the above control Panel, and then "right"--"New"--"Server"-"Next"-"add Web project, if not can directly finish."
3. Configure the Server
This step is the most important, the general problem is because this side is not configured.
Double-click the server you just created , and then locate configure Server Locations-Choose Tomcat installl Home.
This way, you can right-start the server and enter http://127.0.0.1:8080/to access the Tomcat main page.
Eclipse Configuration Tomcat