Hello all,

I built a project and used several java library in my project, but I got some 
errors during mvn deploy whichi seemed frustrated.
The error log showed:

[ERROR] error: error reading 
/root/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar; zip END 
header not found
[ERROR] error: error reading 
/root/.m2/repository/ch/qos/logback/logback-classic/1.2.2/logback-classic-1.2.2.jar;
 zip END header not found
[ERROR] error: error reading 
/root/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.7/jackson-databind-2.8.7.jar;
 zip END header not found

Actually these jar files are public libraries downloaded from repository, but 
seems not worked properly.
Is there any advice on this problem?

P.S. My maven version:

$ mvn --version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
2018-10-24T18:41:47Z)
Maven home: /usr/share/maven
Java version: 11.0.3, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-11-openjdk-amd64
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.14.51-60.38.amzn1.x86_64", arch: "amd64", family: 
“unix"

<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>

<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>

<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.0</version>

<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>

<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>

Regards.
C.Wang

Reply via email to