I. BACKGROUND
Recently there are many students because there is no SSM (Spring+springmvc+mybatis, hereinafter referred to as SSM) framework of the experience, so in their own set up the SSM framework integration, there have been such or such problems, is very distressed, The network does not have a very detailed explanation and the construction of the tutorial. Nothing to do, I use my free time to write such a tutorial and build steps to help those with the problem of the small partners, so that you can not build the SSM from the problem.
Second, the construction steps
1. Frame Setting Environment
Spring 4.2.6.RELEASE
Springmvc 4.2.6.RELEASE
Mybatis 3.2.8
Maven 3.3.9
JDK 1.7
Idea 15.04
2. Create a project
(1) Idea->file->new->project
(2) Select Maven->create from Artchetype and select the skeleton in the circle
(3) Fill in the corresponding GroupID and Artifactid, and then click Next after version
(4) Idea will automatically help you choose Maven Home Dir and User settting file and local repository, click Next
(5) Complete project name and project location, click Finish
(6). Wait for idea to automatically create Maven WebApp project
(7) After the automatic creation, the engineering structure as shown
The attentive little partner will be surprised to find that there is no Java source folder under the main folder, the workaround is in another blog: solve the idea of creating Maven-archetype-webapp project without a Java directory .
Spring+springmvc+mybatis Framework Integration Building Tutorial One (background introduction and project creation)