使用 Maven 进行清洁安装时出现错误
Posted
技术标签:
【中文标题】使用 Maven 进行清洁安装时出现错误【英文标题】:Error seen while Clean installing using Maven [duplicate] 【发布时间】:2017-09-14 02:29:40 【问题描述】:在 mvn clean install 期间,我看到了这个错误 -
[INFO] Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata
only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
我该如何解决这个问题?
【问题讨论】:
maven install error - only whitespace content allowed before start tag and not \u0的可能重复 您的 settings.xml 或 pom.xml 中可能有问题。 【参考方案1】:找到解决方案 - 删除 m2 存储库中的 maven 元数据 xml 并重试
【讨论】:
以上是关于使用 Maven 进行清洁安装时出现错误的主要内容,如果未能解决你的问题,请参考以下文章
解决 Maven项目进行编译( mvn compile )时出现的错误
使用maven打包时出现Process terminated错误
使用maven打包时出现Process terminated错误