Configuring Tomcat7.0 in Eclipse

Source: Internet
Author: User

In order to perform struts2 testing in Eclipse, I found that eclipse on my machine was not integrated with Tomcat, looking for a half-day on the internet, not the plugin, or the one with a lot of caveats or version issues. As a result, I went directly to the Tomcatforeclipse plug-in to download a direct online, according to the instructions provided in a sudden match.
So many configuration articles on the Internet, alas, don't say anything.
Take a look at my configuration steps.

Installation of 1,eclipse. This is downloaded from the Eclipse's official website. Do not teach, download the post EXE file to perform the installation.

2. Download a tomcat from the official Apache website, and I'm under, 7.x version, address http://tomcat.apache.org/ download-70.cgi, download the Windows version of, download EXE file a slip installation, the Installation Content section of the option to select All, all other default configuration, in the middle there is an admin password place, enter your own set of password can be.
When I originally installed the JDK, my machine was using Jre6,tomcat, which was also JRE6, configured Tomcat, restarted the Tomcat service, browser input, Http://localhost:8080/,ok, and the page came out as a normal representation.

3. Download the Tomcat plugin for Eclipse.
: http://www.eclipsetotale.com/tomcatPlugin.html
This page also, installation instructions, English good can see for themselves.
I am under this; Tomcatpluginv321.zip, of course other versions of, you can also download try.
After downloading, unzip. The extracted files are placed in the eclipse's plug directory.

Then start eclipse and see three icons,

This time point three icons, there is a hint to tell you no.
Also need to configure the version of Tomcat, and Tomcat's home, reference graph,

Depending on the version of Tomcat you installed, choose the path you installed Tomcat to, and I am configuring C:\Program files\apache Software Foundation\tomcat 7.0
After configuration, apply the button to press, close, and then first stop Tomcat service from window's service, go back to Eclipse page, point that three icons, OK, the following console window is reflected,
Then open the browser, Http://localhost:8080/ok, Tomcat started.


Finally, summary, very simple, configuration. Do your own quick, follow the online tutorials is easy to people around confused, but, said to say, my side of the article is also reference to the online part of the tutorial.
Want to be able to provide assistance to the person who configures.

Source: http://kin111.blog.51cto.com/738881/163096

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.