1.确定所必须的jar文件,整理如下
struts2:struts2-core-2.x.x.jar //struts2框架的核心类库
xwork-core-2.x.x.jar //xwork类库,struts2在其上构建
ognl-2.6.x.jar //对象图导航语言
framemarker-2.3.x.jar
commons-fileupload-1.2.x.jar
struts-spring-plugin-2.x.x.jar
jstl.jar
standard.jar //后两个在使用jstl标签语言的时候引入
hibernate: hibernate3.jar
lib\bytecode\cglib\hibernate-cglib-repaic-2.1.3.jar
lib\required\*.jar
hibernate注解安装包下的:
hibernate-annotations.jar
lib\ejb3-persistence.jar
hibernate-commons-annotations.jar
hibernate针对JPA实现包:
hibernate-entitymanager.jar
lib\test\log4j.jar slf4j-log4j12.jar
spring: dist\spring.jar
lib\c3p0\c3p0-0.9.12.jar
lib\aspectj\aspectjweaver.jar aspectjrt.jar
lib\cglib\cglib-nodep-2.1.3.jar
lib\j2ee\common-annotations.jar
lib\log4j\log4j-1.2.15.jar
lib\jakarta-commons\commons-logging.jar