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.