Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR "zip END header not found" fires when mvn install latest jigasi #513

Open
liangguohao66 opened this issue Dec 27, 2023 · 3 comments
Open

Comments

@liangguohao66
Copy link

liangguohao66 commented Dec 27, 2023

Description


when mvn -U install jigasi, error fires as below.

Current behavior


[INFO] Changes detected - recompiling the module!
[INFO] Compiling 81 source files to /usr/src/jigasi/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error reading /root/.m2/repository/org/jitsi/jicoco/1.1-107-gfb316f8/jicoco-1.1-107-gfb316f8.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-configuration/2.14.77b1f5e65/jitsi-configuration-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-contactlist/2.14.77b1f5e65/jitsi-contactlist-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-muc/2.14.77b1f5e65/jitsi-muc-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-neomedia/2.14.77b1f5e65/jitsi-neomedia-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-protocol/2.14.77b1f5e65/service-protocol-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-protocol-jabber/2.14.77b1f5e65/jitsi-protocol-jabber-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-protocol-media/2.14.77b1f5e65/service-protocol-media-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-resourcemanager/2.14.77b1f5e65/service-resourcemanager-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-defaultresourcepack/2.14.77b1f5e65/jitsi-defaultresourcepack-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-ui-service/2.14.77b1f5e65/service-ui-service-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-util/2.14.77b1f5e65/jitsi-util-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/jitsi-utils/1.0-126-g02b0c86/jitsi-utils-1.0-126-g02b0c86.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/jicoco-config/1.1-104-g20c4353/jicoco-config-1.1-104-g20c4353.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-protocol-sip/2.14.77b1f5e65/jitsi-protocol-sip-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-packetlogging/2.14.77b1f5e65/jitsi-packetlogging-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-certificate/2.14.77b1f5e65/service-certificate-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-credentialsstorage/2.14.77b1f5e65/service-credentialsstorage-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-dns/2.14.77b1f5e65/jitsi-dns-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-desktoputil/2.14.77b1f5e65/jitsi-desktoputil-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-dnsservice/2.14.77b1f5e65/service-dnsservice-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-globaldisplaydetails/2.14.77b1f5e65/service-globaldisplaydetails-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-netaddr/2.14.77b1f5e65/service-netaddr-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-notification-service/2.14.77b1f5e65/service-notification-service-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-reconnect/2.14.77b1f5e65/jitsi-reconnect-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-sysactivity/2.14.77b1f5e65/service-sysactivity-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/service-systray-service/2.14.77b1f5e65/service-systray-service-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/desktop/jitsi-phonenumbers/2.14.77b1f5e65/jitsi-phonenumbers-2.14.77b1f5e65.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/jitsi-webrtcvadwrapper/1.0-SNAPSHOT/jitsi-webrtcvadwrapper-1.0-SNAPSHOT.jar; zip END header not found
[ERROR] error reading /root/.m2/repository/org/jitsi/jitsi-xmpp-extensions/1.0-78-g62d03d4/jitsi-xmpp-extensions-1.0-78-g62d03d4.jar; zip END header not found
[ERROR] /usr/src/jigasi/src/main/java/org/jitsi/jigasi/SipGatewaySession.java:[18,1] cannot access org.jitsi.jigasi
ZipException opening "jicoco-1.1-107-gfb316f8.jar": zip END header not found

Environment details


mvn --version

Apache Maven 3.5.4 (Red Hat 3.5.4-5)
Maven home: /usr/share/maven
Java version: 21.0.1, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk-21-oracle-x64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.18.0-305.3.1.el8.x86_64", arch: "amd64", family: "unix"

@liangguohao66 liangguohao66 changed the title ERROR "zip END header not found" fires when mvn install ERROR "zip END header not found" fires when mvn install latest jigasi Dec 27, 2023
@damencho
Copy link
Member

Delete your .m2 folder and try again.

@liangguohao66
Copy link
Author

Delete your .m2 folder and try again.

not work. Got same error.

@damencho
Copy link
Member

Try with java 11 and not as root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants