ssh需要的jar包
ssh整合需要的所有jar包
Spring的基本jar包:
- 01
1.org.springframework.web-3.1.4.RELEASE.jar: 在web.xml中配置启动Spring容器所需,包括上下文(参数contextConfigLocation)和监听器(类ContextLoaderListener) 2.com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar: 在spring配置文件中配置dataSource所需(类BasicDataSource) 3.org.springframework.context-3.1.4.RELEASE.jar: IOC反转控制获取实例化,如getBean()所需(类ClassPathXmlApplicationContext) 4.org.springframework.beans-3.1.4.RELEASE.jar: 异常处理(如实例化类ClassPathXmlApplicationContext所抛出的类BeansException) 5.org.springframework.core-3.1.4.RELEASE.jar: spring核心包,包含了一些类的父类,如BeansException的父类NestedRuntimeException 6.com.springsource.org.apache.commons.logging-1.1.1.jar: (实例化ClassPathXmlApplicationContext所需,类LogFactory) 7.org.springframework.asm-3.1.1.RELEASE.jar (实例化ClassPathXmlApplicationContext所需,类ClassVisitor) 8.org.springframework.expression-3.1.1.RELEASE.jar (实例化ClassPathXmlApplicationContext所需,类PropertyAccessor) 9.com.springsource.org.apache.commons.pool-1.5.3.jar (实例化ClassPathXmlApplicationContext所需,GenericObjectPool) 10.org.springframework.orm-3.1.1.RELEASE.jar (ORM整合所须) 11.org.springframework.jdbc-3.1.4.RELEASE.jar: 初始化sessionFactory
Spring的AOPjar包:
- 01
1.org.springframework.aop-3.1.4.RELEASE.jar 2.com.springsource.org.aopalliance-1.0.0.jar 3.com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar
struts2的jar包:
- 01
1.struts2-core-2.3.1.2.jar: struts的核心包 2.xwork-core-2.3.1.2.jar: Action类所在的包 3.ognl-3.0.6.jar: 4.javassist-3.11.0.GA.jar 5.commons-lang3-3.1.jar 6.commons-fileupload-1.3.jar 7.freemarker-2.3.19.jar 8.commons-io-2.0.1.jar 9.struts2-spring-plugin-2.3.1.2.jar
Hibernate的jar包:
- 01
1.com.springsource.org.hibernate-3.3.1.GA.jar: org.hibernate.* 2.org.springframework.transaction-3.1.4.RELEASE.jar org.springframework.dao.* 不加的话extends HibernateDaoSupport的时候会报The type org.springframework.dao.support.DaoSupport cannot be resolved. It is indirectly referenced from required .class files的错误 3.jta-1.1.jar: javax.transaction.TransactionManager 4.com.springsource.org.dom4j-1.6.1.jar 5.slf4j-api-1.5.8.jar: LoggerFactory.class 6.slf4j-api-1.5.8.jar 7.com.springsource.org.apache.commons.collections-3.2.1.jar 8.com.springsource.antlr-2.7.7.jar