标签:rem runner set ons blank option 解决 options where
新建Maven项目,遇到警告:
No archetype found in remote catalog. Defaulting to internal catalog
Archetype not found in any catalog. Falling back to central repository.
Add a repository with id ‘archetype’ in your settings.xml if archetype’s repository is elsewhere.
报错原因:从2020年1月15日开始,中央存储库不再支持通过纯HTTP进行的不安全通信,并且要求对存储库的所有请求都通过HTTPS进行加密。
解决办法:
将http转换为https即可访问,https://repo1.maven.org/maven2/archetype-catalog.xml
等待页面加载完 另存为archetype-catalog.xml放到maven仓库
打开Idea,点击Configure --> Settings,在Runner页面的VM Options添加:-DarchetypeCatalog=local,点击Apply,点击OK。
IDEA 警告 No archetype found in remote catalog. Defaulting to internal catalog
标签:rem runner set ons blank option 解决 options where
原文地址:https://www.cnblogs.com/zhy-god/p/14404418.html