简体   繁体   中英

Where to find the public maven repository for Tomcat-JDBC Pool?

i am trying to use the tomcat jdbc-pool in my application but it seems that i cannot find a repository that provides this dependency. Any clue in which repository i can find the latest release that can be used in a Maven build?

Here is the correct dependency information for the Tomcat JDBC Pool.

<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat-jdbc</artifactId>
    <version>7.0.19</version>
</dependency>

If you are deploying to Tomcat the required JARs are bundled with the Tomcat servlet container, you don't have to (and shouldn't ) include them in your WAR file.

Instead you should define the JDBC connection pool in Tomcat itself and then simply reference it in your application using JNDI.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM