Maven官方仓库:Maven Repository: junit » junit (mvnrepository.com)
Mysql
1 <!--Mysql--> 2 <dependency> 3 <groupId>mysql</groupId> 4 <artifactId>mysql-connector-java</artifactId> 5 <version>8.0.25</version> 6 </dependency>
JDBC
1 <!-- https://mvnrepository.com/artifact/org.springframework/spring-jdbc --> 2 <dependency> 3 <groupId>org.springframework</groupId> 4 <artifactId>spring-jdbc</artifactId> 5 <version>5.3.11</version> 6 </dependency>
Druid
1 <!-- 数据库连接池 --> 2 <dependency> 3 <groupId>com.alibaba</groupId> 4 <artifactId>druid</artifactId> 5 <version>1.1.21</version> 6 </dependency>
Junit
1 <!-- https://mvnrepository.com/artifact/junit/junit --> 2 <dependency> 3 <groupId>junit</groupId> 4 <artifactId>junit</artifactId> 5 <version>4.13.2</version> 6 <scope>test</scope> 7 </dependency>
C3P0
1 <!--Mysql--> 2 <dependency> 3 <groupId>com.mchange</groupId> 4 <artifactId>c3p0</artifactId> 5 <version>0.9.5.5</version> 6 </dependency>
Mybatis
1 <!--Mybatis--> 2 <dependency> 3 <groupId>org.mybatis</groupId> 4 <artifactId>mybatis</artifactId> 5 <version>3.5.7</version> 6 </dependency>
Spring MVC
1 <!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc --> 2 <dependency> 3 <groupId>org.springframework</groupId> 4 <artifactId>spring-webmvc</artifactId> 5 <version>5.3.11</version> 6 </dependency>
AspectJWeaver:AOP
1 <!-- aspectjweaver 面向切面编程--> 2 <dependency> 3 <groupId>org.aspectj</groupId> 4 <artifactId>aspectjweaver</artifactId> 5 <version>1.9.7</version> 6 </dependency>
MyBatis-Spring
1 <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-spring --> 2 <dependency> 3 <groupId>org.mybatis</groupId> 4 <artifactId>mybatis-spring</artifactId> 5 <version>2.0.6</version> 6 </dependency>
Spring JDBC
1 <dependency> 2 <groupId>org.springframework</groupId> 3 <artifactId>spring-jdbc</artifactId> 4 <version>5.3.11</version> 5 </dependency>
spring 注解事务
1 <dependency> 2 <groupId>org.springframework</groupId> 3 <artifactId>spring-tx</artifactId> 4 <version>4.3.9.RELEASE</version> 5 </dependency>
log4j日志处理
1 <dependency> 2 <groupId>org.slf4j</groupId> 3 <artifactId>slf4j-log4j12</artifactId> 4 <version>1.7.25</version> 5 </dependency>
1 <!-- 添加s1f4j日志api --> 2 < dependency> 3 < groupId>org . s1f4j</groupId> 4 <artifactId>slf4j-api</artifactId> 5 <version>1.7.20</version> 6 </dependency> 7 <!--添加logback-classic依赖 --> 8 <dependency> 9 < groupId>ch . qos . logback</groupId> 10 < artifactId>logback-classic< /artifactId> 11 <version>1.2.3< /version> 12 </ dependency> 13 <!--添加logback-core依赖 --> 14 <dependency> 15 < groupId>ch. qos. logback< / groupId> 16 < artifactId> logback -core</ artifactId> 17 <version>1.2.3</ version> 18 </ dependency>
Servlet 3.1
1 <dependency> 2 <groupId>javax.servlet</groupId> 3 <artifactId>javax.servlet-api</artifactId> 4 <version>3.1.0</version> 5 <scope>provided</scope> 6 </dependency>
Jackson
1 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core --> 2 <dependency> 3 <groupId>com.fasterxml.jackson.core</groupId> 4 <artifactId>jackson-core</artifactId> 5 <version>2.13.0</version> 6 </dependency> 7 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations --> 8 <dependency> 9 <groupId>com.fasterxml.jackson.core</groupId> 10 <artifactId>jackson-annotations</artifactId> 11 <version>2.13.0</version> 12 </dependency> 13 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind --> 14 <dependency> 15 <groupId>com.fasterxml.jackson.core</groupId> 16 <artifactId>jackson-databind</artifactId> 17 <version>2.13.0</version> 18 </dependency>
Apache POI
1 <dependency> 2 <groupId>org.apache.poi</groupId> 3 <artifactId>poi</artifactId> 4 <version>4.1.2</version> 5 </dependency> 6 <dependency> 7 <groupId>org.apache.poi</groupId> 8 <artifactId>poi-ooxml</artifactId> 9 <version>4.1.2</version> 10 </dependency> 11 <dependency> 12 <groupId>org.apache.poi</groupId> 13 <artifactId>poi-ooxml-schemas</artifactId> 14 <version>4.1.2</version> 15 </dependency>
javaEE
1 <!--javaee--> 2 <dependency> 3 <groupId>javax</groupId> 4 <artifactId>javaee-api</artifactId> 5 <version>8.0</version> 6 <scope>provided</scope> 7 </dependency>
EL
1 <!-- https://mvnrepository.com/artifact/javax.el/javax.el-api --> 2 <dependency> 3 <groupId>javax.el</groupId> 4 <artifactId>javax.el-api</artifactId> 5 <version>3.0.0</version> 6 </dependency>
mail jar
1 <!--mail jar--> 2 <dependency> 3 <groupId>javax.mail</groupId> 4 <artifactId>javax.mail-api</artifactId> 5 <version>1.5.6</version> 6 </dependency> 7 <dependency> 8 <groupId>com.sun.mail</groupId> 9 <artifactId>javax.mail</artifactId> 10 <version>1.5.6</version> 11 </dependency>