Forums

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

BundleException - missing requirement

Kevin Suter
Contributor
February 21, 2020

Hello everyone,

When trying to install my own addon in Jira via UPM, activation fails and the following message appears in the log:

Caused by: org.osgi.framework.BundleException: Unable to resolve com.mycompany.jira.addon.myaddon [297](R 297.0): missing requirement [com.mycompany.jira.addon.myaddon [297](R 297.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=9.0)) Unresolved requirements: [[ch.zuara.jira.addon.customerknowsremaining [297](R 297.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=9.0))]
at java.lang.Thread.run(Thread.java:748)

 

What I already tried:

* Import-Package as described here: https://community.atlassian.com/t5/Jira-questions/BundleException-Unresolved-constraint-in-bundle-Exception-when/qaq-p/748346

Do you have any other hints what could be the problem?

 

 

1 answer

0 votes
Andrey Budaev April 8, 2020

I have the same problem

Kevin Suter
Contributor
April 9, 2020

Hi Andrey,

Check your java version and your dependencies, see https://community.developer.atlassian.com/t/bundleexception-missing-requirement/35951/4

Cheers,
Kevin

Andrey Budaev April 9, 2020

I finally found the problem, i have added for each tag <dependency> a new child tag  <scope>provided</scope>

 

and it fixed my problem

Suggest an answer

Log in or Sign up to answer