Hi,
I try to read the jira service desk database from a plugin that I created. I use a postgresql database.
I try to add a dependency to pom.xml :
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.4.1212</version>
</dependency>
I have a lot of error like Found a type [com.atlassian.plugin.spring.scanner.annotation.imports.StashImport] annotated as a component, but the type is not a concrete class. NOT adding to index file!!
I try to use a provided scope for this dependency but when I use my plugin, I add an error that postgresql driver doesn't exist. That's happen when I use this line code.
private static final String DB_DRIVER = "org.postgresql.Driver";
Class.forName(DB_DRIVER);
Somebody know how can I connect my plugin on jira database ?
Best regards
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.