IntelliJ idea to create a SPRINGMVC4+MYBTAIS3+MAVEN+JUNIT4 Web project __junit

Source: Internet
Author: User
Tags java web

The main use of this article is to illustrate the process of using INTELLIJIDEA16 to create a Java Web project for MAVEN management.

IntelliJ Idea Tutorial:
SPRINGMVC4+MYBTAIS3+MAVEN+JUNIT4 Project Source code: source Code
1 new Project-->maven, then next down, fill in the appropriate information on the OK. As shown in figure

The initial works are shown below




2 Open the project below the Pox.xml add the required dependency jar package, each additional dependent jar bundle idea on the top right corner will be prompted to click Changes import, automatically download the corresponding jar to the project.



3 Right click on the project name and select Add Framework Support



4 Configuring Tomcat in idea


5 Configuring JDK
file-"project structure, as shown in


6 Create Java directory, right-click Item, click Open-model-setting



Set the Java directory to sources

Select the Java folder and click Make As:sources above to turn it blue to save Java code and press OK.




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.