SSM项目整合【含最新版所有常用的相关jar包(maven依赖),以及所有基本配置文件】

所需jar包(maven依赖)

如下,博主综合了之前多个项目,一把鼻涕一把泪一个个找全了,包含Spring,SpringMVC,Mybatis,以及相关扩展,和基本所有常用的项目工具包。所有版本均接近最新版(有的最新版版本号实属奇特且使用数太少,就弃而取其次)。


	4.0
	UTF-8
	5.1.4.RELEASE


	
	
		javax
		javaee-api
		8.0
		provided
	
	
		org.glassfish.web
		javax.servlet.jsp.jstl
		1.2.4
	
	
		javax.servlet
		javax.servlet-api
		4.0.0
		provided
	
	
		javax.servlet
		jsp-api
		2.0
		provided
	
	
		org.apache.maven.plugins
		maven-resources-plugin
		2.6
		maven-plugin
	
	
		junit
		junit
		4.10
		test
	
	
		javax.servlet.jsp.jstl
		jstl-api
		1.2
	
	
	
	
		org.mybatis
		mybatis-spring
		2.0.0
	
	
		org.mybatis
		mybatis
		3.5.0
	
	
		org.ow2.asm
		asm
		7.0
	
	
		cglib
		cglib
		3.2.10
	
	
		org.apache.logging.log4j
		log4j-core
		2.10.0
	
	
		commons-logging
		commons-logging
		1.2
	
	
		org.javassist
		javassist
		3.23.1-GA
	
	
		mysql
		mysql-connector-java
		8.0.13
	
	
		org.slf4j
		slf4j-api
		1.7.25
	
	
		org.slf4j
		slf4j-log4j12
		1.7.25
		test
	
	
	
	
		aopalliance
		aopalliance
		1.0
	
	
		org.aspectj
		aspectjweaver
		1.9.2
	
	
		commons-codec
		commons-codec
		1.12
	
	
		org.apache.commons
		commons-lang3
		3.8.1
	
	
		commons-collections
		commons-collections
		3.2.2
	
	
		commons-fileupload
		commons-fileupload
		1.4
	
	
		commons-io
		commons-io
		2.6
	
	
		org.apache.commons
		commons-pool2
		2.6.0
	
	
		dom4j
		dom4j
		1.6.1
	
	
		com.alibaba
		druid
		1.1.13
	
	
		com.fasterxml.jackson.core
		jackson-core
		2.9.8
	
	
		com.fasterxml.jackson.core
		jackson-core
		2.9.8
	
	
		com.fasterxml.jackson.core
		jackson-databind
		2.9.8
	
	
		com.fasterxml.jackson.core
		jackson-annotations
		2.9.8
	
	
		org.json
		json
		20180813
	
	
		org.apache.taglibs
		taglibs-standard-impl
		1.2.5
	
	
	
	
		org.springframework
		spring-context-support
		${spring.version}
	
	
		org.springframework
		spring-core
		${spring.version}
	
	
		org.springframework
		spring-beans
		${spring.version}
	
	
		org.springframework
		spring-context
		${spring.version}
	
	
		org.springframework
		spring-aop
		${spring.version}
	
	
		org.springframework
		spring-tx
		${spring.version}
	
	
		org.springframework
		spring-orm
		${spring.version}
	
	
		org.springframework
		spring-web
		${spring.version}
	
	
		org.springframework
		spring-aspects
		${spring.version}
	
	
		org.springframework
		spring-jcl
		${spring.version}
	
	
		org.springframework
		spring-jms
		${spring.version}
	
	
		org.springframework
		spring-messaging
		${spring.version}
	
	
		org.springframework
		spring-test
		${spring.version}
		test
	
	
		org.springframework
		spring-webmvc
		${spring.version}
	
	

 

配置文件(只是一种分层的思路,仅供参考)

1. applicationContext.xml

2. sqlMapConfg.xml(mybatis核心配置文件)

3. springmvc.xml(三大组件等)

4. web.xml(监听器等)

5. jdbc.properties

6. log4j.properties

 


相关链接

【相关1】mybatis完全笔记_知识点和易错点总结

 

你可能感兴趣的:(java)