Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5808

liferay cannot install zjavassist.osgi.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Later Later
    • None
    • 9.6.5
    • None
    • None
    • None

      Steps to Reproduce

      1. copy the specified jar in liferay 7.4 DXP, /deploy

      Current Result

      2024-10-11 08:58:31.715 ERROR [fileinstall-directory-watcher][DirectoryWatcher:592] Unable to install artifact: /Applications/liferay-portal/osgi/modules/zjavassist.osgi.jar
      org.osgi.framework.BundleException: The bundle file:/Applications/liferay-portal/osgi/modules/zjavassist.osgi.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 com.liferay.portal.file.install.internal.DirectoryWatcher._installOrUpdateBundle(DirectoryWatcher.java:642) ~[bundleFile:?]
      at com.liferay.portal.file.install.internal.DirectoryWatcher._install(DirectoryWatcher.java:581) [bundleFile:?]
      at com.liferay.portal.file.install.internal.DirectoryWatcher._install(DirectoryWatcher.java:608) [bundleFile:?]
      at com.liferay.portal.file.install.internal.DirectoryWatcher._process(DirectoryWatcher.java:807) [bundleFile:?]
      at com.liferay.portal.file.install.internal.DirectoryWatcher.run(DirectoryWatcher.java:298) [bundleFile:?]

      Expected Result


      Debug Information

      • caused by it's META-INF/ also contains another folder maven

      Workaround

      • manually remove maven

            Unassigned Unassigned
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: