IDEA-Maven environment configuration and use, idea-maven environment Configuration

Source: Internet
Author: User

IDEA-Maven environment configuration and use, idea-maven environment Configuration
1. Download Maven

IDEA's previous: https://www.jetbrains.com/

1. Click to enter

 

 

1. Previous: http://www.apache.org/operation steps: We click to enter Projects ----> (1 ),

(2 ),

 

(3 ),

(4 ),

(5) decompress the package and we can see this directory.

(6) After extracting the file, we need to add two new environment variables.

1. M2_HOME ------------------> D: \ javafile \ apache-maven-3.5.0

    

 

2. PATH: -------> D: \ javafile \ apache-maven-3.5.0 \ bin

(7) enter the doscommand to test whether the configuration environment can be run.

(8) Click to enter this directory.

(9) Click to edit the maven configuration file.

(10) create a MavenRepository File

 

(11) add an image to the maven configuration file to access the local server. The download speed is faster.

(12) return to IDEA

(13) Check and select the maven directory

 

(14) Create an empty project

 

(15 ),

 

 

(16 ),

 

(17 ),

(18 ),

(19 ),

(20) check whether there is something missing. Disable IDEA and restart it before automatic import.

2. Configure the mysql and JSTL files.

  Previous address: http://www.mvnrepository.com/


(1) Search for mysql and click MySQL Connector/j.

 

(2) the version we selected this time is 6.0.6.

 

 (3) copy the file directly after entering the file.

(4) Go to IDEA and paste it to student-web.

(5) The following is the same as above.

 

 

 

 

 

 

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.