BasicDataSource
I am getting Connection Object by using BasicDataSource object in corejava and i used necessary jars but i got these errors 


Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool                                                               at Test.main(Test.java:18)                                              Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool.impl.GenericObjectPool                                                                             at java.net.URLClassLoader$1.run(URLClassLoader.java:202)                       at java.security.AccessController.doPrivileged(Native Method)                   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)                   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)                        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)                at java.lang.ClassLoader.loadClass(ClassLoader.java:248)                        ... 1 more                                                              


plz solve these problem
BasicDataSource
===

I am getting Connection Object by using BasicDataSource object in corejava and i used necessary jars but i got these errors 


Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool                                                               at Test.main(Test.java:18)                                              Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool.impl.GenericObjectPool                                                                             at java.net.URLClassLoader$1.run(URLClassLoader.java:202)                       at java.security.AccessController.doPrivileged(Native Method)                   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)                   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)                        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)                at java.lang.ClassLoader.loadClass(ClassLoader.java:248)                        ... 1 more                                                              


plz solve these problem