zl程序教程

您现在的位置是:首页 >  后端

当前栏目

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

MavenApacheFailed to 失败 org install plugin
2023-09-11 14:18:06 时间

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)