Detected an error (BundleException) enabling the plugin missing requirement osgi.wiring.package; (osgi.wiring.package=com.atlassian.bandana)

Hello everyone
When deploying a plugin in a different environment got this error,

Caused by: org.osgi.framework.BundleException: Unable to resolve com.plugin [325](R 325.0): missing requirement [com.plugin [325](R 325.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.bandana) Unresolved requirements: [[com.plugin [325](R 325.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.bandana)]
        at org.apache.felix.framework.Felix.resolveBundleRevision(
        at org.apache.felix.framework.Felix.startBundle(
        at org.apache.felix.framework.BundleImpl.start(
        at org.apache.felix.framework.BundleImpl.start(
        at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(

And due to this error the plugin can’t be enabled

Note: The pom.xml doesn’t have anything related to bandana. Should bandana be added to the pom.xml file? And if it should be added, how should it be added? As a dependency? with <scope>provided</scope> or <Import-Package>?
For some reason it doesn’t work in this new environment.

Any help would be appreciated, thanks in advance

Hi @JohnReese,

What do you mean by “a different environment?” Errors like that are usually resolved by adding to the <Export-Package> instruction in amps like this


Although it’s unusual that it’s that package. Do you use any libraries that access bandana?


1 Like

Yes, Bandana is used to store in persistent memory, I am aware that is not the best option, but it is what we are currently using.

I’ll test it out by adding those lines to the pom file


1 Like