〖问题〗解决“No archetype found in remote catalog. Defaulting to internal catalog”问题
问题
解决
1.浏览器输入网址https://repo1.maven.org/maven2/
,下拉至最下面,找到archetype-catalog.xml
文件。右键点击链接另存为
。
2.将下载好的archetype-catalog.xml
文件粘贴到Maven的D:\Maven3.6.3\repository\org\apache\maven\archetype\archetype-catalog\3.2.0
路径下。
3.点击File
→Close Project
,退回至IntelliJ IDEA主界面。
4.点击Configure
→Settings
。
5.点击Build,Execution,Deployment
→Build Tools
→Maven
→Runner
。
6.在VM Options:的地方加上-DarchetypeCatalog=local
,然后注意一下右上方应该是For new projects
,而不应该是For current projects
,最后点击OK
。
7.问题解决成功。
我寻见一片海 碧蓝且耀着光
大片船只航行其上 都向着远方
Shared by Foriver_江河