Build a Java WEB development environment and create a Maven Web project, mavenweb

Source: Internet
Author: User

Build a Java WEB development environment and create a Maven Web project, mavenweb

Learn how to configure: http://www.cnblogs.com/zyw-205520/p/4767633.html from this link blog

 1. JDK Installation

Baidu (preferably jdk1.7)

For example, jdk installation is completed.

2. Install MyEclipse

Download and install it on your own (I use version 2013)

3. install Tomcat 7

Tomcat I use the version is 7, you can go to the apache official website to download, http://tomcat.apache.org, download directly unzip on the line

4. install and configure Maven

4.1configure environment variables in Maven

Download maven, is a package: apache-maven-3.3.9, the version I used is 3.3.9, decompress to a path, and then configure the environment variables:

 

4.1 new variable name: MAVEN_HOME variable value: D: \ apache-maven-3.3.9 (this is my MAVEN path)

4.2 Add % MAVEN_HOME % \ bin at the beginning of the variable name: Path. (Note that ";" must be used as the separator)

 

After the configuration is complete, enter mvn-version in the command line to check whether the following content exists. If yes, the configuration is successful.

4.2Maven Data Warehouse Configuration

4.3integrate Maven in eclipse

Click File --> new --> other --> input maven --> Maven Project. If you can see this, the configuration is successful and you can create a Maven Project.

4.4 create a Maven web Project

File --> new --> other --> input maven --> Maven Project

The basic process is to create a Maven WEB project in the preceding steps. If an error is reported, it may be caused by the memory size configured in the MyEclipse. ini file in your myeclipse installation directory being too small;

My configuration is as follows: (mainly-Xms1024m and-Xmx2048m)

5. SVN installation (optional)

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.