I am using Spring 4 framework + hibernate 4 framework for web application. Before mysql connection work fine. But while i used org.apache.commons.dbcp.BasicDataSource class its thrown Exception.
I Am new in spring and hibernate. Please guide for how to configure MYSQL Database Connectivity with Spring and hibernate.
If <servlet-name> in web.xml is "spring", the framework expects a "spring-servlet.xml" (ie "[servlet-name]-servlet.xml") to have the MVC controller bean definitions.
That file seems to be missing in the WAR.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop