This question is in reference to Atlassian Developer Documentation: BundleException with no bundle constraint specified
I have want to upgrade plugin from JIRA 6.4.5 to JIRA 7.1.0. When I upload the plugin i'm getting the following error:
Any suggestions would be highly appreciated. I have tried most solutions online to no vail.
Caused by: org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision za.co.infowarestudios.jiraplugins.infoware-quote-plugin [185.0] because it is exposed to package 'org.apache.velocity.context' from bundle revisions org.apache.felix.framework  and org.apache.servicemix.bundles.velocity [15.0] via two dependency chains.
export: osgi.wiring.package=org.springframework.web.servlet.config.annotation; uses:=org.apache.velocity.app
export: osgi.wiring.package=org.apache.velocity.app; uses:=org.apache.velocity.context
You'll need to contact the vendors of the add-on. It's not compatible with JIRA 7 and needs updating and recompiling.
I'd go to https://marketplace.atlassian.com/plugins/za.co.infowarestudios.jiraplugins.infoware-quote-plugin/server/support and try the linked issue tracker to see if you can raise it there.
Ok, I'm not sure how to fix it either. I've run into something similar in my add-ons a couple of times, and fixed it mostly by trial and error - removing imports that it refers to so that it's only trying to us a single library, but I don't think that's a "good" approach (it shouldn't be!)
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot