本文主要是介绍Detected Maven Version: 3.0.2 is not in the allowed range 3.0.3.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
在使用maven构建springside的时候,出现错误提示:
Detected Maven Version: 3.0.2 is not in the allowed range 3.0.3.
修改相应错误产生的包中的pox.xml文件的 requireMavenVersion
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>enforce-banned-dependencies</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.0.3</version>
...将 <version>3.0.3</version> 改为 <version>3.0.2</version>
即可。
** 两处修改分别在parent包和quickstar包中的pom.xml中。
这篇关于Detected Maven Version: 3.0.2 is not in the allowed range 3.0.3.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!