Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JDBC Connection inside a BitBucket Java Plugin

Venkata Nagarjuna Dondapati May 15, 2017

Hi,

I'm trying to connect to a database using JDBC from a Bitbucket plugin. However, I get the "ClassNotFoundException caught: oracle.jdbc.driver.OracleDriver not found" exception when I'm trying to fetch the driver details using Class.forName("oracle.jdbc.driver.OracleDriver"). I have checked the lib folder in my bitbucket server and it has ojdbc7-12.1.0.1.jar. Not sure what I am missing. Could someone help me with this.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events