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(Felix.java:4149)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2119)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:405)
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