Building a servlet development platform (Jdk+tomcat+eclipse+eclipse plugin)

Source: Internet
Author: User

First, the tool

Bloggers use a few software version information as follows (people choose according to their computer's number of digits):

1. JDK

Version: Jdk-8u40-windows-i586-8.0.40.25.exe

: http://www.oracle.com/technetwork/articles/javase/index-jsp-138363.html

2. Tomcat

Version: Apache-tomcat-7.0.61-windows-x86.zip

: http://tomcat.apache.org/download-70.cgi

3. Eclipse (JAVA EE)

Version: Eclipse-jee-luna-sr2-win32.zip

: Http://www.eclipse.org/downloads/?S_TACT=105AGX02&S_CMP=TUT

Tomcat Plugin

Version: Tomcatpluginv331.zip

: http://www.eclipsetotale.com/tomcatPlugin.html

Second, the configuration

Configuration, bloggers engaged for a long time, and finally found a better reference material, here to share to everyone

1. Configure JAVA_HOME environment variable: http://lixiyu.blog.51cto.com/4136883/1291053

2. Tomcat installation configuration: http://lixiyu.blog.51cto.com/4136883/1330412

here to elaborate: when bloggers follow the above URL of the tutorial,startup.bat still a flash , because the blogger's Catalina_home There is no configuration (in fact, the above URL is said to configure this, but the blogger did not see = =)

There is a Web site can help you debug, we refer to the next (in fact, the Startup.bat file at the end of the add PAUSE, cmd will prompt the error message)

http://blog.csdn.net/znn626/article/details/7893555

compared to the pit daddy is , if you have previously installed Tomcat, configure the path, and then you now also configure the Catalina_home, with the above URL Debug,cmd also no error, it may be your CATALINA the path of _base and Catalina_tmpdir is also the path that was configured when Tomcat was previously installed, and this time, you'll have to change it, and after you've changed it, remember to restart CMD before it takes effect. (Please refer to the 1java_home configuration for changes)

3. Integrate eclipse and Tomcat: for integration, the blogger downloads the plugin himself and then extracts it and copies it to the Eclipse's plugins folder. After you finish, also refer to the following link the second large point configuration.

http://lixiyu.blog.51cto.com/4136883/1346681

Iii. new projects

http://www.apkbus.com/plugin.php?id=buskc&modo=view&kvid=624

Because the blogger's eclipse is more advanced, so there is no longer the same as before to configure the Web. XML, such as the above URL is a video, how to create a new project, you see the video in front of the section bar.

A little supplement to the video:

1, everyone's project to be built in Tomcat's WebApps directory

2, after the video to finish those content, you may still find in the browser to play localhost:8080/your project name, will not open the browser. That's because the first time you run, you need to choose which server to run on.

You can click on the green circle with the White triangle button--Adding a server,server path is your tomcat's decompression path.

Building a servlet development platform (Jdk+tomcat+eclipse+eclipse plugin)

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.