mysql - Error creating bean with name 'org.springframework.jdbc.core.JdbcTemplate#0' -


i building project github. when build project on eclipse.

after configuration database error.

error creating bean name 'org.springframework.jdbc.core.jdbctemplate#0' defined in servletcontext resource [/web-inf/application-context.xml]: cannot create inner bean 'com.mysql.jdbc.jdbc2.optional.mysqlconnectionpooldata source#82d210' of type [com.mysql.jdbc.jdbc2.optional.mysqlconnectionpooldatasource] while setting bean property 'datasource';
nested exception org.springframework.beans.factory.cannotloadbeanclassexception: cannot find class [com.mysql.jdbc. jdbc2.optional.mysqlconnectionpooldatasource] bean name 'com.mysql.jdbc.jdbc2.optional.mysqlconnectionpooldata source#82d210' defined in servletcontext resource [/web-inf/application-context.xml];
nested exception java.lang. classnotfoundexception: com.mysql.jdbc.jdbc2.optional.mysqlconnectionpooldatasource @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolveinnerbean (beandefinitionvalueresolver.java:282)

please me solve issue.

you missing jar. please include jar in classpath: com.mysql.jdbc_5.1.5.jar


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -