Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6345

Optional imports do not propagate to OSGi framework

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 4.2.6, 4.2.7
    • Fix Version/s: 4.3.0, 4.2.10
    • Component/s: karaf
    • Labels:
      None

      Description

      Based on https://lists.apache.org/thread.html/bf9e724cc9715b2a568bac7537a7be4a8df85867a2126bbd14e4e79d@%3Cdev.karaf.apache.org%3E

      The problem is that:

      java.lang.NoClassDefFoundError: org/iq80/leveldb/DBFactory
              at java.lang.Class.getDeclaredConstructors0(Native Method)
              at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
              at java.lang.Class.getDeclaredConstructors(Class.java:2020)
              at akka.util.Reflect$.findConstructor(Reflect.scala:92)
              at akka.persistence.Persistence.akka$persistence$Persistence$$createPlugin(Persistence.scala:408)
      
      [snip]
      
      Caused by: java.lang.ClassNotFoundException: org.iq80.leveldb.DBFactory cannot be found by com.typesafe.akka.persistence_2.5.23
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              ... 32 more

        Attachments

        1. karaf6345.tgz
          51 kB
          Robert Varga

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                nite Robert Varga
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: