JDK 1.6
Eclipse IDE for JEE Version
Tomcat 6.0
TomcatPluginV33 the plugin on the//eclipse platform, but it is not Tomcat itself and requires the installation of a standalone Tomcat
Download, install JDK, Configure environment Variables
Second, download Eclipse IDE, directly unzip OK
three, download tomcatpluginv33 plug-in, unzip, will unpack the Copy to eclipse \eclipse\ dropins restart eclipse , You can see the Cat button in the toolbar, tomcat windows-preferences tomcat option.
Iv. Download, install Tomcat 6.0, configure tomcat options
After the installation is complete tomcat6.0 , select the Windows-preferences-tomcat option in the third step to configure the Tomcat home as The installation directory for Tomcat 6.0.
ChooseTomcatoption below the Advancedoptions, configuringTomcat Baseto beTomcat 6.0the installation directory;JVM Settingsoption in theJREinstalled for the first stepJRE; inTomcat Manage Appin theManagerThe application adds access to the user and its access password.
V. configuring Tomcat Server in Eclipse
1. Open the server View, Right-click in the server view blank and select new-server( Server Runtime Environment: tomcat> installed in the fourth step of the < ).
2. Now double-click the newly createdServer, appearsOverviewConfiguration window, you can look closely:Server Locationsunder the option to discoverServer Pathand theDeploy Pathbut notTomcatinstallation directory. Above theServer Pathare:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0, whileDeploy Pathis aWtpwebapps, which inServer Pathdirectory below.
to the saying is ( x here is 0 ) is installed above TOMCAT&NBSP; project view server configuration in the project, and with the tomcat
So in the default server http:// localhost:8080 will return error, but can be tomcat directory.
3, we do not use the default server directory, you can select the second option under server Locations (use tomcat directly The installation directory and the webapps directory below it).
IfOverviewThe window is not allowed to modify the option in the StopTomcat Serverafter that, you can do the following: (1) inTomcat ServerRight-click, selectAdd and Remove, move all items on the right side of the open window to the left;2) inTomcat ServerRight-click, selectClean ..., after confirmationOverviewoptions will become optional. After you select the second option,Server Pathwill be automatically configured toTomcatthe installation directory, manual configurationDeploy Pathto theTomcatunder theWebAppsdirectories, savingOk.
Build ECLIPSE+TOMCAT development environment