其他分享
首页 > 其他分享> > maven 打包成功,却报错maven-metadata-local.xml: only whitespace content allowed before start tag and not \u

maven 打包成功,却报错maven-metadata-local.xml: only whitespace content allowed before start tag and not \u

作者:互联网

1.报错信息:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install) on project erlang-controller: Failed to install metadata com.cunjie:erlang-controller/maven-metadata.xml: Could not parse metadata E:\tools\apache-maven-3.6.3\maven-repository\com\cunjie\erlang-controller\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) -> [Help 1]

2.解决方式,进入maven相关目录(E:\tools\apache-maven-3.6.3\maven-repository\com\cunjie\erlang-controller),删除提示中的包(erlang-controller),再次打包即可解决

标签:xml,u0,maven,controller,报错,install,erlang,metadata
来源: https://blog.csdn.net/qq_32784303/article/details/121608962