SSM整合框架(基于IDEA的配置)

Pom文件

  


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">
4.0.0

com.wn.ssmframe
ssmframe
1.0-SNAPSHOT

war



5.0.2.RELEASE
4.0.0
1.2
2.0
5.1.32
3.4.6
1.3.2
2.7
2.9.6
2.7
2.9.2
3.4.1






org.springframework
spring-context
${spring.version}


org.springframework
spring-jdbc
${spring.version}




org.springframework
spring-aspects
${spring.version}




org.springframework
spring-webmvc
${spring.version}




javax.servlet
javax.servlet-api
${javax.servlet-api.version}


jstl
jstl
${jstl.version}




javax.servlet
jsp-api
${jsp.api.version}




com.fasterxml.jackson.core
jackson-annotations
${jackson.version}


com.fasterxml.jackson.core
jackson-core
${jackson.version}


com.fasterxml.jackson.core
jackson-databind
${jackson.version}




mysql
mysql-connector-java
${mysql.version}




org.mybatis
mybatis
${mybatis.version}


org.mybatis
mybatis-spring
${mybatis.spring.version}




com.zaxxer
HikariCP
${HikariCP.version}




org.apache.logging.log4j
log4j-jcl
${log4j.version}


org.apache.logging.log4j
log4j-core
${log4j.version}




org.apache.logging.log4j
log4j-slf4j-impl
${slf4j.version}



io.springfox
springfox-swagger2
${swaggar.version}


io.springfox
springfox-swagger-ui
${swaggar.version}





Spring.xml

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">














































location="classpath:/META-INF/resources/webjars/" />

















db.properties
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/mybatis?useUnicode=true&characterEncoding=UTF-8&useSSL=false
jdbc.username=root
jdbc.password=root
以及mapper文件

"http://mybatis.org/dtd/mybatis-3-mapper.dtd">



配置完这些之后,就可以配置  其他相关信息了


你可能感兴趣的:(SSM整合框架(基于IDEA的配置))