title: how to fix org.osgi.framework.BundleException
body: <p>I'm running ONOS and when I want to add my module to its core I get this exception.
  that was OK before but when I changed my OS, I get this error.</p>
  
  <p>I've tried lots of ways but none of them fits my problem.
  I also have no POM file to add dependency.
  any other suggestions would be appreciated</p>
  
  <pre><code>ERROR: Bundle sdn.FANA.optical.optical [178] Error starting mvn:sdn.FANA.optical/optical/1.0 (org.osgi.framework.BundleException: Unresolved constraint in bundle sdn.FANA.optical.optical [178]: Unable to resolve 178.0: missing requirement [178.0] osgi.wiring.package; (&amp;(osgi.wiring.package=org.apache.karaf.shell.api.action)(version&gt;=4.2.0)(!(version&gt;=5.0.0))))
  org.osgi.framework.BundleException: Unresolved constraint in bundle sdn.FANA.optical.optical [178]: Unable to resolve 178.0: missing requirement [178.0] osgi.wiring.package; (&amp;(osgi.wiring.package=org.apache.karaf.shell.api.action)(version&gt;=4.2.0)(!(version&gt;=5.0.0)))
          at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
          at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
          at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
          at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
          at java.lang.Thread.run(Thread.java:748)
  </code></pre>