I have an error creating a java project with maven in Netbeans

0

After creating a maven java aplication project in Netbeans. When wanting to execute it gives me the following error:

Failed to parse plugin descriptor for org.codehaus.mojo:exec-maven-plugin:1.2.1 (C:\Users\Christian\.m2\repository\org\codehaus\mojo\exec-maven-plugin.2.1\exec-maven-plugin-1.2.1.jar): error in opening zip file -> [Help 1]

Note: - I have java version 1.8 - Maven 3.6.0 - Netbeans 8.2

It's a new project I do not have any code however I get that problem.

I appreciate your contributions.

    
asked by Christian Fernandez 17.12.2018 в 23:05
source

1 answer

0

As you will see your jar went down and you can not open it, the best solution is to go to

C:\Users\Christian\.m2\repository\org\codehaus\mojo\exec-maven-plugin.2.1

and delete the content.

When you run the command that referenced it again, it will be downloaded again (if your project is simple, it should be enough with mvn install ).

    
answered by 17.12.2018 в 23:10