240
世界上有10种人,一种懂二进制,另一种不懂二进制。

maven install失败[Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install)]

1 前言

报错原因如下:

Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to install metadata com.dffl:bl-mall-trade-impl/maven-metadata.xml: Could not parse metadata E:\workspace\maven\apache-maven-3.6.2-bin\apache-maven-3.6.2\repoitory\com\dffl\bl-mall-trade-impl\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)

2 解决方案

删除C:\Users\admin\.m2\repository\com\xxx\maven-metadata-local.xml 后,再重新maven Install操作

3 参考

[1] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install)

 

 

posted @ 2021-03-04 16:01  unionline  阅读(16246)  评论(0编辑  收藏  举报