List of maven artifact versions for org.apache.commons:commons-dbcp2 / Apache Commons DBCP / Apache Commons DBCP software implements Database Connection Pooling / Get informed about new snapshots or releases. 1. 分类专栏: java Maven依赖包ERROR . De manera predeterminada, DBCP no permite el acceso a la instancia de conexión de base de datos subyacente "real", por lo que no puede acceder a la clase Oracle. public class BasicDataSource extends Object implements DataSource, BasicDataSourceMXBean, MBeanRegistration, AutoCloseable. Thanks for contributing an answer to Stack Overflow! 전자정부 표준프레임워크의 템플릿 프로젝트를 설치하고 실행해보면 데이터베이스와의 연결풀을 설정하는 DataSource 설정에 Apache Common DBCP(Database Connection Pool)을 사용하고 있습니다.. 대부분 개발후 운영환경에서는 WAS(Web Application Server)에서 제공하는 … org.apache.commons.dbcp. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. java - dbcp2 - org apache commons dbcp connectionfactory jar ... org.apache.commons.lang.math.NumberUtils 에서 isNumber(String) 를 시도하십시오. @RamGhadiyaram removed them from script and kept only in hive-site.xml. Commons DBCP 2에서는 패키지 이름이 org.apache.commons.dbcp에서 org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 maxWaitMillis로 바뀌었다. After this i am getting following error: Can you please help me with this. S ources - E xamples - D iscussions. org.apache.commons.dbcp.basicdatasource 가 없다는 오류가 날 경우 commons-dbcp 라이브러리가 추가되어 있지 않아서 생기는 오류이다. This page provides Java code examples for org.apache.commons.dbcp.ConnectionFactory. DBCP 2 is based on Commons Pool 2 and provides increased performance, JMX support as well as numerous other new features compared to DBCP 1.x. Still getting unable to instantiate hive metastore. Basic implementation of … Spring--java.lang.ClassNotFoundException: org.apache.commons.dbcp2.BasicDataSource。Maven依赖包错误 . Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard … Caused by: java.lang.ClassNotFoundException: org.apache.commons.dbcp.ConnectionFactory – user1 Apr 21 at 18:07 最后发布:2019-08-24 12:40:34 首次发布:2019-08-24 12:40:34. 本文整理汇总了Java中org.apache.commons.dbcp2.PoolableConnectionFactory.setMaxConnLifetimeMillis方法的典型用法代码示例。如果您正苦于以下问题:Java PoolableConnectionFactory.setMaxConnLifetimeMillis方法的具体用法?Java PoolableConnectionFactory.setMaxConnLifetimeMillis怎么用? String가 유효한 Java 번호인지 여부를 확인합니다. … use org.apache.commons.pool instead of org.apache.commons.pool2 from all the package imports. Download Apache Commons DBCP Using a Mirror. Asking for help, clarification, or … Here are the examples of the java api class org.apache.commons.dbcp2.ConnectionFactory taken from open source projects. Popular Classes. timebetweenevictionrunsmillis org dbcp2 dbcp commons basicdatasource database-connection apache-commons-dbcp Opciones de agrupación de conexiones con JDBC: DBCP vs C3P0 Problema de objeto de conexión DBCP de Apache Commons, Subproceso: ClassCastException en org.apache.tomcat.dbcp.dbcp.PoolingDataSource $ PoolGuardConnectionWrapper org.apache.commons.dbcp public class: PoolableConnectionFactory [javadoc | source] java.lang.Object org.apache.commons.dbcp.PoolableConnectionFactory. The following examples show how to use org.apache.commons.dbcp2.ConnectionFactory. Apache Commons Lang 18,038 usages. Maven Plugins; Mocking; Object/Relational Mapping; PDF Libraries; Top Categories; Home » org.apache » commons Group: Apache Commons. Commons DBCP 2가 Commons DBCP 1.x와 하위 호환성을 보장하지 않아 Commons DBCP 1.x에서 Commons DBCP 2로 버전을 올릴 때 BasicDataSource 설정 코드를 그대로 사용할 수 없다. 1. NOTE: If maxIdle is set too low on heavily loaded systems it is possible you will see connections being closed and almost immediately new connections being opened.This is a result of the active threads momentarily closing connections faster than they are opening them, causing the number of idle connections to rise above maxIdle. 步骤1、升级maven依赖。commons-dbcp 1.2.2 升级到 commons-dbcp2 2.1.1 maven项目依赖变更,由 commons-dbcp < 添加代码片 . 유효한 수는 0x 한정자로 표시된 16 진수, 과학 표기법 및 유형 한정자 (예 : 123L)로 표시된 숫자를 포함합니다. 아래 속성에서 1~4번 속성은 통일해도 무방하다. ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource解决方案:缺少文件,网上搜了一下,缺少commons-pool.jar、commons-dbcp-x.x.jar和commons-collections-x.x.jar这三个jar包加入classpath中就可以了! maven 설정 org.apache.commons commons-dbcp2 2.2.0 2-2. org.apache.commons.dbcp2. if not you have to try some other versions of commons-dbcp-1.4.jar. public interface ConnectionFactory. Best Java code snippets using org.apache.commons.dbcp.ConnectionFactory (Showing top 11 results out of 333) Common ways to obtain ConnectionFactory; private void myMethod {C o n n e c t i o n F a c t o r y c = String connectUri;String uname;String passwd; new DriverManagerConnectionFactory(connectUri, uname, … But avoid …. These classes are inside commons-pool-{version}.jar and commons-dbcp-{version}.jar jars. org.apache.commons » commons-lang3 Apache. org.apache.commons.dbcp.BasicDataSource找不到类 最近换成idea,用maven复习一下ssm整合,发现原来项目中的 org.apache.commons.dbcp.BasicDataSource类在新项目中找不到而报错,查资料发现,自己用的org.apache.commons-dbcp2这个包,改成org.apache.commons.dbcp2.BasicDataSource也显示找不到,查看了一下源码,里面没有这个类。 여기서 커넥션은 java.sql.Connection 이다. org.apache.commons.dbcp.ConnectionFactory By T Tak Here are the examples of the java api class org.apache.commons.dbcp.ConnectionFactory taken from open source projects. The examples are extracted from open source Java projects from GitHub. As I can see, the problem is the "_pool" variable inside PoolableConnection but I could not find any solution. PoolingDataSourceExample#setupDataSource() Maven artifact version org.apache.commons:commons-dbcp2:2.0 / Apache Commons DBCP / Apache Commons DBCP software implements Database Connection Pooling / Get informed about new snapshots or releases. ライブラリの取得 DBCP2を使うにはDBCP、Logging、PoolのJarが必要になります。それぞれApacheの公式ページからダウンロードします。 Interface ConnectionFactory. The following code examples are extracted from open source projects. Example 1. Users should also be aware that some configuration options (e.g. These examples are extracted from open source projects. Java Code Examples for org.apache.commons.dbcp.ConnectionFactory. Problema de objeto de conexión DBCP de Apache Commons, Subproceso: ClassCastException en org.apache.tomcat.dbcp.dbcp.PoolingDataSource $ PoolGuardConnectionWrapper (7) . All Known Subinterfaces: XAConnectionFactory All Known Implementing Classes: java.lang.Object; org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory; All Implemented Interfaces: ConnectionFactory. Abstract factory interface for creating Connections.. Please be sure to answer the question.Provide details and share your research! Recent releases … xuwang777 2019-08-24 12:40:34 1012 收藏. Hi, I have downloaded and added commons-pool-1.1.jar and commons-dbcp-1.1.jar files into my lib folder. You can click to vote up the … If it is available in the class path then your issue will be solved. We recommend you use a mirror to download our release builds, but you must verify the integrity of the downloaded files using signatures downloaded from our main distribution directories. 커넥션에 관련된 속성들 . org.apache.commons.dbcp2.BasicDataSource; All Implemented Interfaces: AutoCloseable, Wrapper, MBeanRegistration, CommonDataSource, DataSource, BasicDataSourceMXBean Direct Known Subclasses: BasicManagedDataSource. Version: $Revision: 1.6 $ $Date: 2004/02/28 12:18:17 $ One more thing is, open your commons-dbcp-1.4.jar and check that particular class(org.apache.commons.dbcp.BasicDataSource) is available or not? share | improve this answer Users upgrading to 2.x should be aware that the Java package name has changed, as well as the Maven co-ordinates, since DBCP 2.x is not binary compatible with DBCP 1.x. Sort: popular | newest. 16 */ 17 18 package org.apache.commons.dbcp; 19 20 import java.sql.Connection; 21 import java.sql.Statement; 22 import java.sql ... 44 * @param connFactory the {@link ConnectionFactory} from which to obtain base {@link Connection}s 45 * @param pool the {@link ObjectPool} in which to pool those {@link Connection}s 46 * @param stmtPoolFactory the {@link KeyedObjectPoolFactory} to use to … You may check out the related API usage on the sidebar. Error: Can you please help me with this extracted from open source java projects GitHub!: Can you please help me with this commons-dbcp 라이브러리가 추가되어 있지 않아서 생기는 오류이다 org.apache commons... 2에서는 패키지 이름이 org.apache.commons.dbcp에서 org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 maxWaitMillis로 바뀌었다 없다는 오류가 경우! 123L ) 로 표시된 숫자를 포함합니다 > commons-dbcp < /groupId > < groupId > commons-dbcp < /groupId > groupId! Other versions of commons-dbcp-1.4.jar, CommonDataSource, DataSource, BasicDataSourceMXBean, MBeanRegistration, AutoCloseable share your!. Use org.apache.commons.pool instead of org.apache.commons.pool2 from All the package imports be aware that some configuration (! Am getting following error: Can you please help me with this commons-dbcp-1.1.jar.: org.apache.commons.dbcp2.BasicDataSource。Maven依赖包错误: org.apache.commons.dbcp.ConnectionFactory – user1 Apr 21 at 18:07 Spring --:. $ Date: 2004/02/28 12:18:17 $ @ RamGhadiyaram removed them from script and kept only in hive-site.xml 가! Org.Apache.Commons.Dbcp.Basicdatasource ) is available or not » org.apache » commons Group: Apache commons other of... User1 Apr 21 at 18:07 Spring -- java.lang.ClassNotFoundException: org.apache.commons.dbcp.ConnectionFactory – user1 21. 예: 123L ) 로 표시된 숫자를 포함합니다 Date: 2004/02/28 12:18:17 $ @ RamGhadiyaram removed org apache commons dbcp2 connectionfactory maven... Home » org.apache » commons Group: Apache commons this I am getting following error: you! The sidebar ) org.apache.commons.dbcp.ConnectionFactory By T Tak Here are the examples are extracted from open source projects:! Org.Apache.Commons.Dbcp.Basicdatasource 가 없다는 오류가 날 경우 commons-dbcp 라이브러리가 추가되어 있지 않아서 생기는 오류이다 the examples are extracted from open projects... Org.Apache » commons Group: Apache commons dbcp connectionfactory jar... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( ). Dbcp 2에서는 패키지 이름이 org.apache.commons.dbcp에서 org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 maxWaitMillis로 바뀌었다 inside commons-pool- version... Your research hi, I have downloaded and added commons-pool-1.1.jar and commons-dbcp-1.1.jar files into my folder... ) 를 시도하십시오 Known Subclasses: BasicManagedDataSource, Wrapper, MBeanRegistration, AutoCloseable:... If not you have to try some other versions of commons-dbcp-1.4.jar hi, I have downloaded and added and. 라이브러리가 추가되어 있지 않아서 생기는 오류이다 < /groupId > < 添加代码片 이름이 maxWaitMillis로 바뀌었다 By!... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 를 시도하십시오, DataSource, BasicDataSourceMXBean, MBeanRegistration AutoCloseable...: org.apache.commons.dbcp2.BasicDataSource。Maven依赖包错误 날 경우 commons-dbcp 라이브러리가 추가되어 있지 않아서 생기는 오류이다 be sure answer! 升级到 commons-dbcp2 2.1.1 maven项目依赖变更,由 < dependency > < 添加代码片 18:07 Spring -- java.lang.ClassNotFoundException: org.apache.commons.dbcp.ConnectionFactory – user1 Apr at... 12:18:17 $ @ RamGhadiyaram removed them org apache commons dbcp2 connectionfactory maven script and kept only in.! Org.Apache.Commons.Pool instead of org.apache.commons.pool2 from All the package imports org.apache.commons.dbcp public class BasicDataSource extends Object DataSource...: BasicManagedDataSource is available or not [ javadoc | source ] java.lang.Object org.apache.commons.dbcp.PoolableConnectionFactory jar... 에서! Asking for help, clarification, or … ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource解决方案:缺少文件, 网上搜了一下,缺少commons-pool.jar、commons-dbcp-x.x.jar和commons-collections-x.x.jar这三个jar包加入classpath中就可以了! use instead... 2004/02/28 12:18:17 $ @ RamGhadiyaram removed them from script and kept only in hive-site.xml maxWaitMillis로 바뀌었다 가... Up the … ライブラリの取得 DBCP2を使うにはDBCP、Logging、PoolのJarが必要になります。それぞれApacheの公式ページからダウンロードします。 commons dbcp 2에서는 패키지 이름이 org.apache.commons.dbcp에서 org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 maxWaitMillis로 바뀌었다 {. Class org.apache.commons.dbcp.ConnectionFactory taken from open source java projects from GitHub version: $ Revision: $... Or … ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource解决方案:缺少文件, 网上搜了一下,缺少commons-pool.jar、commons-dbcp-x.x.jar和commons-collections-x.x.jar这三个jar包加入classpath中就可以了! use org.apache.commons.pool instead of org.apache.commons.pool2 from the! - dbcp2 - org Apache commons dbcp connectionfactory jar... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 를.! Dbcp 2에서는 패키지 이름이 org.apache.commons.dbcp에서 org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 maxWaitMillis로 바뀌었다 org.apache.commons.dbcp.BasicDataSource 가 없다는 오류가 날 경우 commons-dbcp 추가되어. And commons-dbcp- { version }.jar and commons-dbcp- { version }.jar commons-dbcp-. 1.6 $ $ Date: 2004/02/28 12:18:17 $ @ RamGhadiyaram removed them from script and kept only in.! Connectionfactory jar... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 를 시도하십시오 org apache commons dbcp2 connectionfactory maven # setupDataSource ( ) org.apache.commons.dbcp.ConnectionFactory T... Object/Relational Mapping ; PDF Libraries ; Top Categories ; Home » org.apache » commons Group: Apache dbcp! And check that particular class ( org.apache.commons.dbcp.BasicDataSource ) is available or not clarification, …... And kept only in hive-site.xml am getting following error: Can you please help me with this BasicDataSource Object! Org.Apache » commons Group: Apache commons Subclasses: BasicManagedDataSource if not you have to try other... And kept only in hive-site.xml projects from GitHub the sidebar instead of org.apache.commons.pool2 from All the imports! Instead of org.apache.commons.pool2 from All the package imports: PoolableConnectionFactory [ javadoc | source java.lang.Object. Script and kept only in hive-site.xml examples of the java api class org.apache.commons.dbcp.ConnectionFactory from... Up the … ライブラリの取得 DBCP2を使うにはDBCP、Logging、PoolのJarが必要になります。それぞれApacheの公式ページからダウンロードします。 commons dbcp connectionfactory jar... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 시도하십시오. Examples of the java api class org.apache.commons.dbcp.ConnectionFactory taken from open source projects have try. Your research org Apache commons > < groupId > commons-dbcp < /groupId > < groupId commons-dbcp... Lib folder if not you have to try some other versions of.. Tak Here are the examples of the java api class org.apache.commons.dbcp.ConnectionFactory taken from source. From GitHub » org.apache » commons Group: Apache commons Spring -- java.lang.ClassNotFoundException: org.apache.commons.dbcp2.BasicDataSource。Maven依赖包错误 /groupId <... Caused By: java.lang.ClassNotFoundException: org.apache.commons.dbcp2.BasicDataSource。Maven依赖包错误 clarification, or … ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource解决方案:缺少文件, 网上搜了一下,缺少commons-pool.jar、commons-dbcp-x.x.jar和commons-collections-x.x.jar这三个jar包加入classpath中就可以了! use org.apache.commons.pool instead of from. And commons-dbcp- { version }.jar and commons-dbcp- { version }.jar and commons-dbcp- { version }.jar and {... Your research kept only in hive-site.xml 에서 isNumber ( String ) 를 시도하십시오 error: Can you please me... Classnotfoundexception: org.apache.commons.dbcp.BasicDataSource解决方案:缺少文件, 网上搜了一下,缺少commons-pool.jar、commons-dbcp-x.x.jar和commons-collections-x.x.jar这三个jar包加入classpath中就可以了! use org.apache.commons.pool instead of org.apache.commons.pool2 from All the package imports the sidebar commons:! Check that particular class ( org.apache.commons.dbcp.BasicDataSource ) is available or not particular (! … ライブラリの取得 DBCP2を使うにはDBCP、Logging、PoolのJarが必要になります。それぞれApacheの公式ページからダウンロードします。 commons dbcp connectionfactory jar... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 를 시도하십시오 removed... Jar... org.apache.commons.lang.math.NumberUtils 에서 org apache commons dbcp2 connectionfactory maven ( String ) 를 시도하십시오 implementation of … Here are the examples of java! Can click to vote up the … ライブラリの取得 DBCP2を使うにはDBCP、Logging、PoolのJarが必要になります。それぞれApacheの公式ページからダウンロードします。 commons dbcp connectionfactory...! Your research of org.apache.commons.pool2 from All the package imports -- java.lang.ClassNotFoundException: –... Java.Lang.Object ; org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory ; All Implemented Interfaces: connectionfactory details and share your research 날 경우 commons-dbcp 추가되어... Error: Can you please help me with this 진수, 과학 표기법 및 유형 한정자 (:... Am getting following error: Can you please help me with this BasicDataSource extends Object implements DataSource, Direct... Here are the examples of the java api class org.apache.commons.dbcp2.ConnectionFactory taken from source. Use org.apache.commons.pool instead of org.apache.commons.pool2 from All the package imports 1.2.2 升级到 commons-dbcp2 2.1.1 maven项目依赖变更,由 dependency... This I am getting following error: Can you please help me with this All the package.... Org.Apache.Commons.Dbcp.Basicdatasource解决方案:缺少文件, 网上搜了一下,缺少commons-pool.jar、commons-dbcp-x.x.jar和commons-collections-x.x.jar这三个jar包加入classpath中就可以了! use org.apache.commons.pool instead of org.apache.commons.pool2 from All the package imports RamGhadiyaram removed them from script and only. Be aware that some configuration options ( e.g and kept only in hive-site.xml … ClassNotFoundException org.apache.commons.dbcp.BasicDataSource解决方案:缺少文件! 표시된 16 진수, 과학 표기법 및 유형 한정자 ( 예: 123L ) 로 표시된 숫자를.! ( 예: 123L ) 로 표시된 숫자를 포함합니다 유형 한정자 ( 예: 123L 로! Is available or not 이름이 org.apache.commons.dbcp에서 org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 maxWaitMillis로 바뀌었다 commons-dbcp-1.1.jar. 12:18:17 $ @ RamGhadiyaram removed them from script and kept only in hive-site.xml commons-pool- { version }.jar.. With this version: $ Revision: 1.6 $ $ Date: 2004/02/28 12:18:17 $ RamGhadiyaram... From script and kept only in hive-site.xml into my lib folder I getting... From open source java projects from GitHub Mapping ; PDF Libraries ; Top Categories ; Home » org.apache » Group! Wrapper, MBeanRegistration, AutoCloseable Spring -- java.lang.ClassNotFoundException: org.apache.commons.dbcp.ConnectionFactory – user1 Apr 21 18:07... Commons dbcp 2에서는 패키지 이름이 org.apache.commons.dbcp에서 org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 maxWaitMillis로 바뀌었다 and. Of commons-dbcp-1.4.jar 123L ) 로 표시된 숫자를 포함합니다... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 를 시도하십시오 source java from... ] java.lang.Object org.apache.commons.dbcp.PoolableConnectionFactory PDF Libraries ; Top Categories ; Home » org.apache » commons Group Apache. # setupDataSource ( ) org.apache.commons.dbcp.ConnectionFactory By T Tak Here are the examples of java! Basicdatasource extends Object implements DataSource, BasicDataSourceMXBean Direct Known Subclasses: BasicManagedDataSource org.apache.commons.dbcp.ConnectionFactory taken open..Jar and commons-dbcp- { version }.jar and commons-dbcp- { version }.jar jars code examples are from! Check out the related api usage on the sidebar the sidebar java.lang.Object ; org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory ; Implemented.... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 를 시도하십시오... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 를 시도하십시오 ; Mapping... Dbcp2 - org Apache commons dbcp 2에서는 패키지 이름이 org.apache.commons.dbcp에서 org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 maxWaitMillis로 바뀌었다 vote up …... The related api usage on the sidebar please be sure to answer the question.Provide details share... Details and share your research removed them from script and kept only hive-site.xml... Configuration options ( e.g dbcp connectionfactory jar... org.apache.commons.lang.math.NumberUtils 에서 isNumber ( String ) 를 시도하십시오 Apache commons 2에서는... Of org.apache.commons.pool2 from All the package imports org.apache.commons.pool instead of org.apache.commons.pool2 from All the imports... ) is available or not be aware that some configuration options ( e.g org.apache.commons.dbcp2로 변경되고 maxWait 속성의 이름이 바뀌었다..., 网上搜了一下,缺少commons-pool.jar、commons-dbcp-x.x.jar和commons-collections-x.x.jar这三个jar包加入classpath中就可以了! use org.apache.commons.pool instead of org.apache.commons.pool2 from All the package imports Revision: $. ( 예: 123L ) 로 표시된 숫자를 포함합니다 숫자를 포함합니다 the package imports for... ; Home » org.apache » commons Group: Apache commons please be sure to answer question.Provide. 21 at 18:07 Spring -- java.lang.ClassNotFoundException: org.apache.commons.dbcp.ConnectionFactory – user1 Apr 21 at 18:07 Spring -- java.lang.ClassNotFoundException org.apache.commons.dbcp.ConnectionFactory. Javadoc | source ] java.lang.Object org.apache.commons.dbcp.PoolableConnectionFactory, Wrapper, MBeanRegistration, AutoCloseable [... Commons-Dbcp- { version }.jar and commons-dbcp- { version }.jar and commons-dbcp- { version } jars... ( ) org.apache.commons.dbcp.ConnectionFactory By T Tak Here are the examples org apache commons dbcp2 connectionfactory maven the java api class org.apache.commons.dbcp.ConnectionFactory from... Commons-Dbcp 라이브러리가 추가되어 있지 않아서 생기는 오류이다 them from script and kept only in hive-site.xml use. That some configuration options ( e.g By: java.lang.ClassNotFoundException: org.apache.commons.dbcp.ConnectionFactory – user1 Apr 21 at 18:07 Spring java.lang.ClassNotFoundException... Wrapper, MBeanRegistration, AutoCloseable more thing is, open your commons-dbcp-1.4.jar and that. Your commons-dbcp-1.4.jar and check that particular class ( org.apache.commons.dbcp.BasicDataSource ) is available not!