SSH搭建
jar包
1.mysql驱动
mysql-connector-java-5.1.15-bin.jar
2.struts-2.2.1.1
commons-fileupload-1.2.1.jar
commons-io-1.3.2.jar
freemarker-2.3.16.jar
ognl-3.0.jar
struts2-core-2.2.1.1.jar
xwork-core-2.2.1.1.jar
发现缺少javassist-3.7.ga.jar包
在struts-2.2.1.1\apps\struts2-blank.war下找到后加入
3.spring-framework-3.0.5.RELEASE
暂时将\dist下的jar包加入如下
org.springframework.asm-3.0.5.RELEASE.jar
org.springframework.beans-3.0.5.RELEASE.jar
org.springframework.context-3.0.5.RELEASE.jar
org.springframework.core-3.0.5.RELEASE.jar
org.springframework.expression-3.0.5.RELEASE.jar
org.springframework.jdbc-3.0.5.RELEASE.jar
org.springframework.transaction-3.0.5.RELEASE.jar
然后发现缺少,在struts-2.2.1.1中找到
commons-logging-1.0.4.jar
spring中注入dataSource时候发现缺少
commons-dbcp-1.4.jarhttp://jakarta.apache.org/commons/dbcp/
commons-pool-1.5.6.jarhttp://jakarta.apache.org/commons/pool/
struts2与spring集成时需要
org.springframework.web-3.0.5.RELEASE.jar
struts2-spring-plugin-2.2.1.1.jar