Integrated Tomcat plugin to eclipse

Source: Internet
Author: User
Tags tomcat server

Environment:

System: Windows 7 64-bit Professional Edition

Eclipse:

Eclipse Java EE IDE for WEB developers.
Version:kepler Service Release 2
Build id:20140224-0627

1. Download Tomcat

The author chooses tomcat7,:http://tomcat.apache.org/download-70.cgi, chooses the green edition zip to download, chooses the core, chooses the version according to own operating system, this general influence is not big

2. Install Tomcat

Unzip the 1th step of the Apache-tomcat-6.0.35.zip, the author unzip it in the D-disk IDE directory. Right click on My Computer, select Properties---advanced--environment variable--new system variable, variable name catalina_home, variable value input D:\ide\apache-tomcat-7.0.53 OK.

3. Download the Tomcat Eclipse plugin

3.1 http://www.eclipsetotale.com/tomcatPlugin.html. The latest releaseNotesV33 can support the Tomcat 7 (Tomcatpluginv33.zip can support Eclipse 3.1, 3.2, 3.3, 3.4, 3.5, 3.6 and Tomcat 4.x, 5.x, 6.x, 7 . x

4. Installing the Tomcat plugin

The tomcatpluginv33.zip extracted from the previous step is decompressed and the extracted com.sysdeo.eclipse.tomcat_3.3.0 files are copied to the plugins directory in the Eclipse root directory. Restart Eclipse, the toolbar appears icon 650) this.width=650; "src=" Http://img.my.csdn.net/uploads/201208/09/1344476495_2888.jpg "alt=" The Eclipse toolbar tomcat icon "/> proves that the installation was successful. If unsuccessful, method one: create a new directory under the links directory with the Tomcat.link file contents as plugin under the Tomcat plugin, such as F:\eclipse\plugins\ com.sysdeo.eclipse.tomcat_3.2.1

Method Two: The extracted files are placed in the Eclipse root directory dropins, but the eclipse version is required to support this method.


5. Eclipse Tomcat Configuration

Eclipse->window->preferences->tomcat, tick version 7.x,tomcat home to select the installation directory for the second step. Click the OK button.

6. Deploy JEE projects to Tomcat

Right click on the project name,properties->tomcat-> confirm is a Tomcat project has been ticked click OK button,%catalina_home%/conf/catalina/localhost will have *.xml File generation. 1 red box refers to the project path name that is accessed after successful deployment, 2 in the red box,/refers to the project root path, and/web is the content to be published to the Tomcat server. The path in 3 is the storage path to the Java file after the compiled. class file, which must be contained in the path referred to in 2, because tomcatplugin only loads the contents of the path specified by 2

650) this.width=650; "Src=" http://img.blog.csdn.net/20140527170316343?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvd2mwmdc3/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>

650) this.width=650; "alt=". class file storage Path "src=" http://img.blog.csdn.net/20140826111818553?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvd2mwmdc3/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>


7. Start the Tomcat debugging project
The 3rd step is pressurized after the devloader.zip in the com.sysdeo.eclipse.tomcat_3.3.0 directory is decompressed to get the org file. Under command line, the CD command switches to the Org folder and executes the Devloader.jar copy obtained by JAR-CVF Devloader.jar * into the Lib directory in the Tomcat installation directory. Eclipse Click Kitten button 650) this.width=650; "src=" Http://img.my.csdn.net/uploads/201208/09/1344477539_9276.jpg "alt=" The Tomcat boot button "/> starts Tomcat and breaks the point to debug your JEE program with breakpoint tracking."


This article is from the "Java Paradise" blog, please make sure to keep this source http://liyunhua.blog.51cto.com/6418538/1631423

Integrated Tomcat plugin to eclipse

Related Article

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.