struts2+spring3+hibernate3的資源下載和開發環境配置 ssh配置文件(web.xml,struts.xml,applicationContext.xml,persistence.xml,log4j.properties) struts2+spring3+hibernate3所需 jar包 2010-11-18 16:10:07| 分類: java相關 | 標簽:ssh jar包 |字號大 中 小 訂閱 1.struts2提取包 從struts2-2.2.1-lib.zip中struts-2.2.1\lib提取如下包 aopalliance-1.0.jar commons-collections-3.2.jar commons-fileupload-1.2.1.jar commons-io-1.3.2.jar commons-logging-1.0.4.jar freemarker-2.3.16.jar ognl-3.0.jar struts2-core-2.2.1.jar struts2-spring-plugin-2.2.1.jar xwork-core-2.2.1.jar 2.提取spring包 從spring-framework-3.0.4.RELEASE.zip中spring-framework-3.0.4.RELEASE\dist提取如下包(裡面的所有jar包都要) (有人說不要這個org.springframework.web.struts-3.0.4.RELEASE.jar,但我測試後,可以用這個) org.springframework.aop-3.0.4.RELEASE.jar org.springframework.asm-3.0.4.RELEASE.jar org.springframework.aspects-3.0.4.RELEASE.jar org.springframework.beans-3.0.4.RELEASE.jar org.springframework.context-3.0.4.RELEASE.jar org.springframework.context.support-3.0.4.RELEASE.jar org.springframework.core-3.0.4.RELEASE.jar org.springframework.expression-3.0.4.RELEASE.jar org.springframework.instrument-3.0.4.RELEASE.jar org.springframework.instrument.tomcat-3.0.4.RELEASE.jar org.springframework.jdbc-3.0.4.RELEASE.jar org.springframework.jms-3.0.4.RELEASE.jar org.springframework.orm-3.0.4.RELEASE.jar org.springframework.oxm-3.0.4.RELEASE.jar org.springframework.test-3.0.4.RELEASE.jar org.springframework.transaction-3.0.4.RELEASE.jar org.springframework.web-3.0.4.RELEASE.jar org.springframework.web.portlet-3.0.4.RELEASE.jar org.springframework.web.servlet-3.0.4.RELEASE.jar org.springframework.web.struts-3.0.4.RELEASE.jar 從spring-framework-2.0.8-with-dependencies.zip中spring-framework-2.0.8\lib\log4j提取如下包 log4j-1.2.14.jar 3.Hibernate提取包 從hibernate-distribution-3.6.0.Final-dist.zip中hibernate-distribution-3.6.0.Final提取如下包 hibernate3.jar 從 hibernate-distribution-3.6.0.Final-dist.zip中hibernate-distribution- 3.6.0.Final\lib\required提取如下包(所有包,除了commons-collections-3.1.jar,struts裡的 版本要高一些) antlr-2.7.6.jar dom4j-1.6.1.jar javassist-3.12.0.GA.jar jta-1.1.jar slf4j-api-1.6.1.jar 從hibernate-distribution-3.6.0.Final-dist.zip中hibernate-distribution-3.6.0.Final\lib\bytecode\cglib提取如下包 cglib-2.2.jar 從hibernate-distribution-3.6.0.Final-dist.zip中hibernate-distribution-3.6.0.Final\lib\optional\ehcache提取如下包 ehcache-1.5.0.jar 從hibernate-distribution-3.6.0.Final-dist.zip中hibernate-distribution-3.6.0.Final\lib\jpa提取如下包 hibernate-jpa-2.0-api-1.0.0.Final.jar 從hibernate-distribution-3.6.0.Final-dist.zip中hibernate-distribution-3.6.0.Final\lib\optional\c3p0提取如下包 c3p0-0.9.1.jar 4.MySQL提取包 從mysql-connector-java-5.1.13.zip中mysql-connector-java-5.1.13提取如下包 mysql-connector-java-5.1.13-bin.jar 5.slf4j提取包 從slf4j-1.6.1.zip中mysql-connector-java-5.1.13提取如下包 slf4j-log4j12-1.6.1.jar 建議:把這些包拷貝到一個Struts2.2.1_Spring3.0.4_Hibernate3.6.0-lib文件夾中(這個文件夾自己創建一個,主要用途是臨時保存這些包)