title: Why doesn't an OSGi Bundle start even when all the Dependencies are resolved?
body: <p><strong>1) Problem 1:</strong><br>
  I have come across this scenario quite a few times, finding transitive dependencies converting them to OSGi format and deploying them in OSGi container is already a pain. </p>
  
  <p>But sometimes even after doing the above, <strong>the bundle does not start WHY ?</strong></p>
  
  <p>I double checked the imports, all are satisfied, there are no red marks, but the bundle refuses to go "Active" it always shows "Installed". <strong>Why does this happen?</strong></p>
  
  <p><strong>2) Problem 2</strong><br>
  <strong>Another issue</strong> I face is <strong>NoClassDefError occurring at runtime</strong> even when the class is present in Bundle and the bundle is Active.</p>
  
  <p>An example for this is <code>org.apache.xmlbeans.XmlObject NoClassDefError</code></p>
  
  <p>If it is missing then it should show it in "red" as missing dependency, but instead it shows all dependencies resolved and bundle is Active?
  I extracted the contents of the bundle as well to see if it is really there, and found out that it exists then <strong>why do these weird errors occur?</strong></p>
  
  <p><strong>Note:</strong> My working environment is Adobe CQ5.</p>
  
  <p><a href="https://i.stack.imgur.com/FBUyi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FBUyi.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/Xko3L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xko3L.png" alt="enter image description here"></a></p>