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),再次打包即可解决

上一篇:Win10上RabbitMQ安装和启动详细步骤


下一篇:CentOS7安装RabbitMQ