Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Exception starting Server while using Spring MVC 3.0, Mysql with JDBCTemplate

Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I need to configure JDBCTemplate in Spring MVC 3.0. It is throwing following exception.

i have app-servlet.xml like this.

I have put mysqlconnector.jar in WEB-INF/lib folder with commons-dbcp-1.4.jar also still it is giving me error.
can anyone help me to resolve this.

Thanks in advance
Posts: 17346
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool.ObjectPool

is not in your class path.

Or you have two versions of it in your class path. So the jar for it twice, maybe different versions.

    Bookmark Topic Watch Topic
  • New Topic