Given this error:
[ERROR] org.acme:mybundle:0.0.1-SNAPSHOT: Bundle org.acme:mybundle:0.0.1-SNAPSHOT is exporting package org.acme.foo without a version.
What troubleshooting steps are appropriate to address this error?
OSGi exported packages must declare a package version so importing bundles can resolve compatible API versions. The bundle should specify a version in its Export-Package declaration, and consumers should declare a compatible version range in Import-Package.
Export-Package
Import-Package
Community Discussion