`
yanfaguanli
  • 浏览: 660474 次
文章分类
社区版块
存档分类
最新评论

Struts2.1.6 + Spring2.5.6 + Hibernate3.3.2 整合总结

 
阅读更多

由于之前学习的时候没怎么注意,然后在整合的,就是整合Struts2.1.6 + Spring2.5.6的时候过程中了出现很多问题。但是回顾之前学过的视频,发现最主要的问题的是没有引入他们之间的一个jar包。这导致许多问题都没什么头绪,现在就知道该怎么做了。

下面总结了一下要引入的jar包。

一定要一个一个去加你所要的包


需要的jar包列表

jar包名称

所在位置

说明

antlr-2.7.6.jar

hibernate/lib/required

解析HQL

aspectjrt

spring/lib/aspectj

AOP

aspectjweaver

..

AOP

cglib-nodep-2.1_3.jar

spring/lib/cglib

代理,二进制增强

common-annotations.jar

spring/lib/j2ee

@Resource

commons-collections-3.1.jar

hibernate/lib/required

集合框架

commons-fileupload-1.2.1.jar

struts/lib

struts

commons-io-1.3.2

struts/lib

struts

commons-logging-1.1.1

单独下载,删除1.0.4(struts/lib)

struts

spring

dom4j-1.6.1.jar

hibernate/required

解析xml

ejb3-persistence

hibernate-annotation/lib

@Entity

freemarker-2.3.13

struts/lib

struts

hibernate3.jar

hibernate

hibernate-annotations

hibernate-annotation/

hibernate-common-annotations

hibernate-annotation/lib

javassist-3.9.0.GA.jar

hiberante/lib/required

hibernate

jta-1.1.jar

..

hibernate transaction

junit4.5

mysql-

ognl-2.6.11.jar

struts/lib

slf4j-api-1.5.8.jar

hibernate/lib/required

hibernate-log

slf4j-nop-1.5.8.jar

hibernate/lib/required

spring.jar

spring/dist

struts2-core-2.1.6.jar

struts/lib

xwork-2.1.2.jar

struts/lib

struts2

commons-dbcp

spring/lib/jarkata-commons

commons-pool.jar

..

struts2-spring-plugin-2.1.6.jar

struts/lib


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics