创建Maven项目时警告:No archetype found in remote catalog. Defaulting to internal catalog.

新建maven项目时,Run中报警告:No archetype found in remote catalog. Defaulting to internal catalo在远程目录中没有找到原型。默认为内部编录。】

现在提供两种方式:

一:

Add Maven Property

Name:archetypeCatalog

Value:internal 

 

 

 二:

在maven的VM Options加上-DarchetypeCatalog=internal参数,如下: 

 

 

VM Options:-DarchetypeCatalog=internal

也还有其他办法,但是以上两种都奏效了。

【本文转载自:https://www.cnblogs.com/loufangcheng/p/12861762.html】

 

posted @ 2020-09-11 14:55  一只小菜菜鸟  阅读(2465)  评论(0编辑  收藏  举报