What are the dependencies required for Spring projects built by Maven ?, Mavenspring

Source: Internet
Author: User

What are the dependencies required for Spring projects built by Maven ?, Mavenspring
What are the dependencies required for Spring projects built by Maven?

<! -- Spring dependency --> <! -- 1. spring core dependency --> <dependency> <groupId> org. springframework </groupId> <artifactId> spring-core </artifactId> <version> 4.3.7.RELEASE </version> </dependency> <groupId> org. springframework </groupId> <artifactId> spring-beans </artifactId> <version> 4.3.7.RELEASE </version> </dependency> <groupId> org. springframework </groupId> <artifactId> spring-context </artifactId> <version> 4.3.7.R ELEASE </version> </dependency> <! -- 2. Spring dao dependency --> <! -- Spring-jdbc includes some tool classes such as jdbcTemplate --> <dependency> <groupId> org. springframework </groupId> <artifactId> spring-jdbc </artifactId> <version> 4.3.7.RELEASE </version> </dependency> <groupId> org. springframework </groupId> <artifactId> spring-tx </artifactId> <version> 4.3.7.RELEASE </version> </dependency> <! -- 3. spring web dependency --> <dependency> <groupId> org. springframework </groupId> <artifactId> spring-web </artifactId> <version> 4.3.7.RELEASE </version> </dependency> <groupId> org. springframework </groupId> <artifactId> spring-webmvc </artifactId> <version> 4.3.7.RELEASE </version> </dependency> <! -- 4. spring test dependency: facilitates unit test and integration test --> <dependency> <groupId> org. springframework </groupId> <artifactId> spring-test </artifactId> <version> 4.3.7.RELEASE </version> </dependency>

There are four aspects:

1) spring core dependency

Spring-core, spring-beans, and spring-context

2) spring dao dependency (JDBCTemplate is provided)

Spring-jdbc and spring-tx

3) spring web dependency

Spring-web and spring-webmvc

4) spring test dependency

Spring-test

 

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.