Could not find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml in loc
2020-07-14 05:25
204 查看
问题描述
Could not find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml in local (C:\Users\Administrator\.m2\repository)
开始出现这个问题以为是中央仓库在国外导致的问题,所以设置了阿里云的镜像仓库
在
<mirrors></mirrors>中添加下面代码
<mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror>
问题没有得到解决,于是我在settings.xml修正本地仓库地址,问题得到解决
相关文章推荐
- Could not transfer metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from/
- Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archetype-plugin:3.0.0 among
- Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archetype-plugin:3.0.0 among
- maven使用命令创建项目失败[ERROR] Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archety
- Maven 命令行创建项目时 Could not find goal ‘create’ in plugin org.apache.maven.plugins:...
- maven安装jar包到本地仓库报的一个错误:Could not find goal '' in plugin org.apache.maven.plugins
- Could not find goal 'create' in plugin org.apache.maven.p plugin:3.0.1 among available goals crawl
- Maven 报:Could not find artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3
- Maven 报:Could not find artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3
- 关于Could not find goal '' in plugin org.apache.tomcat.maven:tomcat7-maven-plugin:2.2类型的错误
- Maven 创建项目的时候 [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be fo
- could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of(maven报错)
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.1.1 or one of its
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6
- 解决报错 Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6
- 【maven】ecplise新建maven项目 报错Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin
- CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.4
- 使用maven提示Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one