Eclipse6里面SSH整合说明

我用MyEclipse6.0做SSH工程出现的几个问题和解决办法。
MyEclipse6.0开发SSH工程问题解决办法
1. 正常建工程,倒入Struts1.1,Spring2.0,Hibernate3.0.Spring2.0托管Struts,Hibernate。   此时Spring配置文件中出现问题,找不到此类。 class="org.apache.commons.dbcp.BasicDataSource" 在工程的lib文件加入commons-dbcp.jar,
2. 启动服务出现 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer inform

ation of other classes in the same package
此时干掉commons-collections-2.1.jar包
3. 然后导入commons-beanutils.jar,
commons-pool.jar,
commons-collections-3.1.jar包问题解决。
启动服务成功。
查询资料解释:

commons-pool.jar, commons-dbcp.jar:

DBCP数据库连接池,Apache的Jakarta组织开发的

commons-collections.jar:

Apache Commons包中的一个,包含了一些Apache开发的集合类,功能比java.util.*强大。必须使用的jar包。

commons-beanutils.jar:

commons-lang.jar:

Apache Commons包中的一个,包含了一些数据类型工具类,是java.lang.*的扩展。必须使用的jar包。

commons-logging.jar:

Apache Commons包中的一个,包含了日志功能,必须使用的jar包。
其他问题待续。。。。。

需要手动导入的Jar包。

原文地址:https://www.cnblogs.com/soundcode/p/1921255.html