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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.