ClassNotFoundException in an OSGi environments

When you hit a java.lang.ClassNotFoundException in an OSGi environment you most likely hit one of the following conditions:

  • Missing import or export package,
  • import version mismatch,
  • forgotten/missing component (really missing bundle),
  • wrong boot class delegation property or
  • missing file system permissions (can't read the JARs).