QuestionQ10

No official topic/domain breakdown was publicly listed on the Adobe certification page or prep guide page I could access for AD0-E137

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?

Explanation

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.

Community Discussion

No comments yet. Be the first to start the discussion!