Forums

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

How to use external java class?

Maxim Kashaev April 21, 2022

I've just put folders to atlassian-jira/WEB-INF/classes and scriptrunner sees these classes, but when running script get a lot of errors like 

java.lang.NoClassDefFoundError: retrofit2/Converter$Factory

 

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
April 24, 2022

Hi @Максим Кашаев

If you want to include external libraries in your Jira instance, you need to add it to the <JIRA_INSTALLTION_PATH>/lib folder, for example,/opt/atlassian/jira/lib.

Once you have added the library, you will need to restart your Jira instance to be able to access it.

 I hope this helps to answer your question. :)

Thank you and Kind regards,

Ram

Suggest an answer

Log in or Sign up to answer