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?
Hi Andrey,
Check your java version and your dependencies, see https://community.developer.atlassian.com/t/bundleexception-missing-requirement/35951/4
Cheers,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I finally found the problem, i have added for each tag <dependency> a new child tag <scope>provided</scope>
and it fixed my problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.