Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Error while launching AEM instance in MAC

Avatar

Level 4

I'm trying to setup AEM on my MAC machine (JDK 11), but I see the following error:

 

18.07.2024 16:14:29.173 *ERROR* [main] Cannot launch: Cannot install jar:file:crx-quickstart/app/cq-quickstart-cloudready-2021.11.6058.20211123T163652Z-211100-standalone-quickstart.jar!/resources/org.apache.sling.launchpad.base.jar for use
18.07.2024 16:14:29.173 *ERROR* [main] java.util.zip.ZipException: Invalid CEN header (invalid extra data field size for tag: 0xbfef at 559)

18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1776)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1275)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1741)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1470)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1433)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:743)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:860)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:258)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:187)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.jar.JarFile.<init>(JarFile.java:348)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.jar.JarFile.<init>(JarFile.java:319)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.jar.JarFile.<init>(JarFile.java:285)
18.07.2024 16:14:29.173 *ERROR* [main] at org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo.<init>(FileBundleVersionInfo.java:40)
18.07.2024 16:14:29.173 *ERROR* [main] at org.apache.sling.launchpad.base.shared.Loader.installLauncherJar(Loader.java:172)
18.07.2024 16:14:29.173 *ERROR* [main] at org.apache.sling.launchpad.app.Main.doStart(Main.java:382)
18.07.2024 16:14:29.173 *ERROR* [main] at org.apache.sling.launchpad.app.Main.doStart(Main.java:347)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
18.07.2024 16:14:29.173 *ERROR* [main] at com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:107)
18.07.2024 16:14:29.173 *ERROR* [main] at com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:272)
18.07.2024 16:14:29.173 *ERROR* [main] at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:918)
18.07.2024 16:14:29.173 *ERROR* [main] at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:980)
MAIN process: shutdown hook
MAIN process: exiting

 

Can someone help on this?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor