# ssm-config
**Repository Path**: songjunyan/ssm-config
## Basic Information
- **Project Name**: ssm-config
- **Description**: Spring Spring MVC Mybatis基本配置
Swagger Druid
spring task定时器基本配置
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2017-06-15
- **Last Updated**: 2020-12-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
- 1:配置log4j
- (1)导入jar
commons-logging
commons-logging
1.2
log4j
log4j
1.2.17
org.apache.logging.log4j
log4j-core
2.7
org.apache.logging.log4j
log4j-api
2.7
org.slf4j
slf4j-api
1.7.21
org.slf4j
slf4j-log4j12
1.7.21
- (2)配置log4j.properties
- 2 mybatis
- (1)导入jar
org.mybatis
mybatis
3.4.2
mysql
mysql-connector-java
5.1.4
com.github.pagehelper
pagehelper
4.0.0
com.github.jsqlparser
jsqlparser
0.9.1
- 3 配置javaee环境
- (1)导入jar
javax
javaee-api
7.0
javax.servlet
servlet-api
2.5
provided
javax.servlet.jsp
jsp-api
2.1
provided
taglibs
standard
1.1.2
javax.servlet
jstl
1.2
- (2)修改web.xml为3.0环境
- springmvc配置
- (1)导入jar
org.springframework
spring-context
4.3.4.RELEASE
org.springframework
spring-web
4.3.4.RELEASE
org.springframework
spring-webmvc
4.3.4.RELEASE
- (2)配置web.xml和spring-mvc.xml
springmvc
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:spring-mvc.xml
1
springmvc
/
CharsetEncoding
org.springframework.web.filter.CharacterEncodingFilter
encoding
utf-8
CharsetEncoding
/*
- (3)JSR后端验证配置
javax.validation
validation-api
1.1.0.Final
org.hibernate
hibernate-validator
5.2.0.Final
- (4)文件上传和jackson配置
com.fasterxml.jackson.core
jackson-core
2.8.0
com.fasterxml.jackson.core
jackson-databind
2.8.0
com.fasterxml.jackson.core
jackson-annotations
2.8.0
commons-io
commons-io
2.4
commons-fileupload
commons-fileupload
1.3.1
- 5 配置spring
- 1导入jar
- 2配置web.xml
contextConfigLocation
classpath:spring-context.xml
org.springframework.web.context.ContextLoaderListener
- swagger配置
- (1)导入jar
- (2)拷贝工具类配置