核心jar包

UTF-8
1.8
1.8
5.0.2.RELEASE
1.6.6
1.2.12
5.1.6
3.4.5







org.aspectj
aspectjweaver
1.6.8



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



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



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



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



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



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



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



junit
junit
4.12
compile



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



javax.servlet
servlet-api
2.5
provided



javax.servlet.jsp
jsp-api
2.0
provided



jstl
jstl
1.2




log4j
log4j
${log4j.version}



org.slf4j
slf4j-api
${slf4j.version}



org.slf4j
slf4j-log4j12
${slf4j.version}




org.mybatis
mybatis
${mybatis.version}



org.mybatis
mybatis-spring
1.3.0



c3p0
c3p0
0.9.1.2
jar
compile


org.projectlombok
lombok
1.16.8


com.fasterxml.jackson.core
jackson-core
2.9.0


com.fasterxml.jackson.core
jackson-annotations
2.9.0


com.fasterxml.jackson.core
jackson-databind
2.9.0


org.projectlombok
lombok
1.16.8


web.xml配置文件
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >


Archetype Created Web Application


contextConfigLocation
classpath:applicationContext.xml



org.springframework.web.context.ContextLoaderListener




characterEncodingFilter
org.springframework.web.filter.CharacterEncodingFilter

encoding
UTF-8



characterEncodingFilter
/*



    dispatcherServlet
    org.springframework.web.servlet.DispatcherServlet
    
        contextConfigLocation
        classpath:springmvc.xml
    


    dispatcherServlet
    /


applicationContext.xml文件

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:mvc="http://www.springframework.org/schema/mvc"
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/aop
http://www.springframework.org/schema/aop/spring-aop.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">;













































springMVC.xml配置文件

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

















JdbcConfig.properties配置文件
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/mybatis
jdbc.username=root
jdbc.password=root
SqlMapConfig.xml核心mybstis配置文件

PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">;