An internal error occurred during: "Updating Maven Dependencies"

Whenever I start eclipse, I get a message:

An internal error occurred during: "Updating Maven Dependencies".
Lorg/codehaus/plexus/archiver/jar/JarArchiver;

I am running maven version 3.0.4 and I tried to update the JarArchiver only so that it crashes again and again.

Does anyone have any ideas on what might cause the problem? If you have a solution, it will also be incredibly useful.

+5
source share
6 answers

After closing Eclipse, I uninstalled all versions from ~/.m2/repository/org/codehaus/plexus/plexus-archiverthe last one.

During the subsequent launch of Eclipse, the other artifact causing the error was Maven Archiver, so I removed the old versions from ~/.m2/repository/org/apache/maven/maven-archiver.

Eclipse Maven → Update Project. .

+8

, ( pom.xml)

<plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>2.4</version>
 </plugin>

Reimport Eclipse/STS.

maven : http://maven.apache.org/plugins/maven-jar-plugin/plugin-info.html

+4

user2125483 . org.maven org.codehaus.plexus Maven (~/.m2) - . Maven , .

+3

. /m 2

+1

, . , Windows Java. (9,0,4 10,0,0) Java 10 Maven. , .

0

Go to the folder C: \ Users \ .m2 \ repository \ org \ codehaus \ plexus and delete all the subfolders inside the plexus and run the pom.xml file

!! it worked !!

-1
source

All Articles