Eclipse Development Environment Building

Source: Internet
Author: User
Tags tomcat server

    1. Prepare Eclipse Tools

    1. Unzip to a path that has no Chinese and no spaces

    1. To add Maven to eclipse, first find the location of the MAVEN plug-in package and add it to the Dropins directory in the Eclispe decompression path.

    1. Java Environment configuration:

    1. Compiled version:

    1. Select the Java Runtime Environment:

    1. Server Configuration

To configure the Web Server, the system uses TOMCAT7 as the Web container and needs to configure the Tomcat Server with the following configuration steps:

  1. Add Tomcat Runtime Environment

    Click Finish

      1. Add Tomcat Server

      1. Show Tomcat Server

      1. Configure Tomcat

    Timeouts: Delay time setting increased, set to 100 or more

    Server Location: Select intermediate option, use Tomcat's installation directory, server path is Tomcat's installation directory, Deploy Path selects the default project deployment directory under the Tomcat installation directory, which is webapps under the Tomcat installation directory.

    If there is a memory overflow when Tomcat starts the project, you can increase the virtual machine memory by using the method below.

    Add the Java Memory Settings command to the top red box:

    -xms128m-xmx512m-xx:permsize=128m-xx:maxpermsize=512m

      1. Eclipse Default Character Set
    Workspace Default character encoding

    Change the default character set for a workspace to Utf-8

      1. Change the JSP file character encoding:

      1. Web Engineering Testing

    Create a Web project to test whether Tomcat can be used.

  2. Create a Dynamic Web project

      1. Create a new JSP:

      1. Deploy run in Tomcat

      1. Re-deploy:

    Eclipse Memory Settings

    To prevent eclipse from running memory overflow during startup, modify the Eclipse.ini file to add the following:

    -xms128m

    -xmx768m

    -xx:permsize=64m

    -xx:maxpermsize=128m

    Eclipse Font Modification

    Eclipse Add code hints

    In the red box above, enter:. abcdefghijklmnopqrstuvwxyz

Eclipse Development Environment Building

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.