第一个SSM整个框架完成增删改查的项目(里面的配置文件可以复用)

【第一个SSM整个框架完成增删改查的项目(里面的配置文件可以复用)】幽沉谢世事,俯默窥唐虞。这篇文章主要讲述第一个SSM整个框架完成增删改查的项目(里面的配置文件可以复用)相关的知识,希望能为你提供帮助。
SSM框架整合的配置pom.xml(需要配置,以及资源导出问题)

< ?xml version="1.0" encoding="UTF-8"?>
< project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
< modelVersion> 4.0.0< /modelVersion>

< groupId> com.mac< /groupId>
< artifactId> ssmbulid< /artifactId>
< version> 1.0-SNAPSHOT< /version>

< !--依赖问题junit,数据库驱动,连接池,servlet,jsp,mybatis,mybatis-spring,spring -->
< dependencies>
< dependency>
< groupId> junit< /groupId>
< artifactId> junit< /artifactId>
< version> 4.12< /version>
< /dependency>
< !--数据库驱动-->
< dependency>
< groupId> mysql< /groupId>
< artifactId> mysql-connector-java< /artifactId>
< version> 5.1.47< /version>
< /dependency>
< !-- 数据库连接池 -->
< dependency>
< groupId> com.mchange< /groupId>
< artifactId> c3p0< /artifactId>
< version> 0.9.5.2< /version>
< /dependency>
< !--Servlet - JSP -->
< dependency>
< groupId> javax.servlet< /groupId>
< artifactId> servlet-api< /artifactId>
< version> 2.5< /version>
< /dependency>
< dependency>
< groupId> javax.servlet.jsp< /groupId>
< artifactId> jsp-api< /artifactId>
< version> 2.2< /version>
< /dependency>
< dependency>
< groupId> javax.servlet< /groupId>
< artifactId> jstl< /artifactId>
< version> 1.2< /version>
< /dependency>
< !--Mybatis-->
< dependency>
< groupId> org.mybatis< /groupId>
< artifactId> mybatis< /artifactId>
< version> 3.5.2< /version>
< /dependency>
< dependency>
< groupId> org.mybatis< /groupId>
< artifactId> mybatis-spring< /artifactId>
< version> 2.0.2< /version>
< /dependency>
< !--Spring-->
< dependency>
< groupId> org.springframework< /groupId>
< artifactId> spring-webmvc< /artifactId>
< version> 5.1.9.RELEASE< /version>
< /dependency>
< dependency>
< groupId> org.springframework< /groupId>
< artifactId> spring-jdbc< /artifactId>
< version> 5.1.9.RELEASE< /version>
< /dependency>
< dependency>
< groupId> org.projectlombok< /groupId>
< artifactId> lombok< /artifactId>
< version> 1.18.22< /version>
< /dependency>
< /dependencies>

< !--静态资源到处-->
< build>
< resources>
< resource>
< directory> src/main/java< /directory>
< includes>
< include> **/*.properties< /include>
< include> **/*.xml< /

    推荐阅读