标签:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${spring-version}</version> </dependency> <!-- 整合mybatis所需jar包 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> <version>${mybatis.spring-version}</version> </dependency> <!-- mybatis --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>${mybatis-version}</version> </dependency> <!-- c3p0数据源 --> <dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>${c3p0-version}</version> </dependency> <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver --> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.8.9</version> </dependency>
<properties></properties>标签在上一张介绍过,在这里只添加了一些新的jar包,不清楚的朋友点击这里---》 maven构建模块化项目之SpringMVC (02)
<!-- jar包管理--> <properties> <mybatis-version>3.2.8</mybatis-version> <mybatis.spring-version>1.2.2</mybatis.spring-version> <c3p0-version>0.9.1.2</c3p0-version> </properties>
【maven系列】:maven构建模块化项目之SpringMVC整合Mybatis (01)
标签:
原文地址:http://www.cnblogs.com/ncjava/p/5842506.html