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

后端 未结 12 1497
感情败类
感情败类 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:24

    It is possible that someone is enforcing a specific Maven version.

    If you see the following message:

    [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message: Detected Maven Version: 3.5.4 is not in the allowed range [3.5.2,3.5.2].

    Then change your maven installation to the something in the specified range. In this example, only version 3.5.2 is allowed.

提交回复
热议问题