JQL custom function fails to load jdbc driver class even after defining the dependency in pom.xml

rohit agarwal March 28, 2020

Folks,

I have run into a rather peculiar situation. Here is use case:

I am creating a custom JQL plugin to connect to LDAP and get a list of users from a remote application based on a username as an input parameter

The JQL which I want to run is <code>assignee in myCustomFunction("rohitrajagarwal")</code>

 

Though the dependency is resolving appropriately, and the project compiles successfully without any issue. I get an SQLException that the JDBC class is not found.

I have the JDBC driver in the classpath as well. Since the dependency is resolving successfully, classpath configuration is not an issue.

Does anyone know why would such an issue would occur?

 

Regards,

Rohit

0 answers

Suggest an answer

Log in or Sign up to answer