jitsi / jigasi

Jigasi: a server-side application acting as a gateway to Jitsi Meet conferences. Currently allows regular SIP clients to join meetings and provides transcription capabilities.
Apache License 2.0
532 stars 297 forks source link

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

Open liangguohao66 opened 11 months ago

liangguohao66 commented 11 months ago

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"

damencho commented 11 months ago

Delete your .m2 folder and try again.

liangguohao66 commented 11 months ago

Delete your .m2 folder and try again.

not work. Got same error.

damencho commented 11 months ago

Try with java 11 and not as root.