I'm writing a bitbucket server plugin that writes to an external postgresql DB. I'm using PostgreSQL JDBC and getting the following error when calling Class.forName("org.postgresql.Driver") :
java.lang.ClassNotFoundException: org.postgresql.Driver not found
I've tried adding the following to my pom.xml but it results in the plugin failing to install:
<dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>9.4.1212</version> </dependency>
How can I write to an external PostgreSQL DB from my plugin?
Hi, have you solve the problem? I meet the similar question, I want to add mysql-connector-java.jar but failed...
<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.38</version> <scope>compile</scope> </dependency>
if you solve the problem, please reply me,thanks a lot.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot