Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin

后端 未结 12 1328
感情败类
感情败类 2021-02-04 06:49

I got a maven spring project but when I try to run it, I can\'t... some idea about it...
The next is the Error Message:

BUILD FAILURE
-----------------------         


        
12条回答
  •  走了就别回头了
    2021-02-04 07:01

    If you are using version 1.4.1 of maven-enforcer-plugin and it is resulting in this error then you need to use an older version of maven-enforcer-plugin. You can find the Maven dependency below :

    
        org.apache.maven.plugins
        maven-enforcer-plugin
        1.3.1
    
    

    Other versions can be found from the link below.

    https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin

    Also, check your Maven version. If you are using maven 3.0.x then you need to use maven-enforcer-plugin 1.4.1.

提交回复
热议问题