If you are using a build tool like Maven or Gradle, you don't need to manually download the JAR. Add the following to your configuration:

Why use org.apache.tomcat.jdbc.pool.DataSource over other options? DataSource (Apache Tomcat 7.0.109 API Documentation)

The most reliable source for stable releases. Download tomcat-jdbc JAR from Maven Central .

You can obtain the tomcat-jdbc JAR through several official and community repositories:

To find the download for the org.apache.tomcat.jdbc.pool.DataSource class, you need the file. This library provides the Tomcat JDBC Connection Pool , a high-performance, lightweight replacement for the older Apache Commons DBCP pool. Direct JAR Download Options