Spring+springmvc+mybatis Framework Integration Building Tutorial One (background introduction and project creation)

Source: Internet
Author: User

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)

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.