maven报错archetypeCatalog 'interval' is not supported anymore. 附下载链接

archetypeCatalog ‘interval’ is not supported anymore. 附下载链接



壹 | 具体使用工具

  1. IDEA 2017.2
  2. jdk1.8

贰 | 出现的问题

基于maven正常创建创建springmvc项目,并在创建项目过程中添加属性 archetypeCatalog-interval 为加快项目创建速度时,项目创建失败,控制台报出错误。如下图所示:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: 
archetypeCatalog 'interval' is not supported anymore. 
Please read the plugin documentation for details. -> [Help 1]

在这里插入图片描述

叁 | 原因

不再支持archetypecatalog-interval


肆 | 解决方法

1.下载archetype-catalog.xml到C:/users/.m2文件夹中
在这里插入图片描述

2.在IDEA中设置具体属性 -DarchetypeCatalog=internal
具体实现步骤可参照:
注意:第二张图的右上角是for default project,而不是for current project
在这里插入图片描述
在这里插入图片描述


伍 | archetype-catalog.xml下载链接

https://download.csdn.net/download/qq_43619459/12366588

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值