org.osgi.framework.BundleException: The bundle file:/C:/Palamida/7.0-v4/config/analyzers/analyzers-7.0.0-13-SNAPSHOT-jar-with-dependencies.jar does not have a META-INF/MANIFEST.MF! Make sure, META-INF and MANIFEST.MF are the first 2 entries in your JAR!

Stack Overflow | Saurav Agrawal | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When using Maven Assembly Plugin - Manifest.MF is not packaged in the correct order

    Stack Overflow | 6 months ago | Saurav Agrawal
    org.osgi.framework.BundleException: The bundle file:/C:/Palamida/7.0-v4/config/analyzers/analyzers-7.0.0-13-SNAPSHOT-jar-with-dependencies.jar does not have a META-INF/MANIFEST.MF! Make sure, META-INF and MANIFEST.MF are the first 2 entries in your JAR!

    Root Cause Analysis

    1. org.osgi.framework.BundleException

      The bundle file:/C:/Palamida/7.0-v4/config/analyzers/analyzers-7.0.0-13-SNAPSHOT-jar-with-dependencies.jar does not have a META-INF/MANIFEST.MF! Make sure, META-INF and MANIFEST.MF are the first 2 entries in your JAR!

      at org.apache.felix.fileinstall.internal.DirectoryWatcher.installOrUpdateBundle()
    2. Apache Felix File Install
      DirectoryWatcher.run
      1. org.apache.felix.fileinstall.internal.DirectoryWatcher.installOrUpdateBundle(DirectoryWatcher.java:1004)
      2. org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:952)
      3. org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871)
      4. org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)
      5. org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
      6. org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)
      6 frames