Build ECLIPSE+TOMCAT development environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.