在开发ssh框架的web应用beans.xml文件中出错,求大神解救:
错误::Class 'org.apache.commons.dbcp.BasicDataSource' not found
Class 'org.springframework.orm.hibernate3.LocalSessionFactoryBean' not found
1.以下是代码
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
class="org.apache.commons.dbcp.BasicDataSource">//出错!
value="com.microsoft.sqlserver.jdbc.SQLServerDriver">
value="jdbc:sqlserver://localhost:1433;databasename=bookStore">
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">//出错
org.hibernate.dialect.SQLServerDialect
true
org/bookstore/model/Book.hbm.xml
org/bookstore/model/User.hbm.xml
org/bookstore/model/Orders.hbm.xml
org/bookstore/model/Orderitem.hbm.xml
org/bookstore/model/Catalog.hbm.xml
2.包: