Exception java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

后端 未结 6 1879
广开言路
广开言路 2021-02-07 07:07

I\'m trying to integrate spring and Hibernate with mysql. I created a simple java project and a package with 3 classes, an application context.xml file, and an hbm.xml for mappi

6条回答
  •  梦如初夏
    2021-02-07 07:10

    It looks like that jvm could not find the org.apache.commons.dbcp.BasicDataSource class.Please check in your class-path or in your project build-path that commons-dbcp.jar is present or not.

    If yes then, open your commons-dbcp.jar and check that particular class(org.apache.commons.dbcp.BasicDataSource) is available or not

提交回复
热议问题