Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sql server driver in jira plugin development

Meena Sabnivisu May 2, 2018

Hi, I am developing an add-on plugin that requires connection to SQL server.For that, I have installed SQL server JDBC driver with maven and written dependency in pom.xml.

But, when I am doing that I am getting an exception:  unable to resolve 19.0: missing requirement [19.0] osgi.wiring.package; (osgi.wiring.package=com.microsoft.aad.adal4j).

I dont know what  I am doing wrong. Plz help me to resolve this.

 

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 2, 2018

How did you write this dependency in pom.xml?

Meena Sabnivisu May 2, 2018

 In pom.xml like this

<dependency>
<groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>6.4.0.jre7</version> <optional>true</optional> </dependency>
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 2, 2018

Try to do it like this

<dependency>
<groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>6.4.0.jre7</version> <scope>compile</scope> </dependency>

Kindly make atlas-mvn clean package

Suggest an answer

Log in or Sign up to answer