idea 用maven创建web工程出错【已解决】
[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or one of its dependencies could not be resolved:......
网上查了查
原来是阿里云的maven镜像仓库改为了https开头
在maven的安装目录下的conf目录里修改settings.xml文件
<mirror>
<id>aliyunmaven</id>
<mirrorOf>*</mirrorOf>
<name>aliyun maven</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
重新建立web项目,ok!