maven安装错误 - 只有开始标记之前允许的空格内容,而不是\u0 [英] maven install error - only whitespace content allowed before start tag and not \u0
本文介绍了maven安装错误 - 只有开始标记之前允许的空格内容,而不是\u0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project ecommerce-web: Failed to install metadata com.app:ecommerce-web/maven-metadata.xml: Could not parse metadata C:\Users\admin\.m2\repository\com\app\ecommerce-web\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) -> [Help 1]
我的maven-metadata-local.xml中没有任何内容
there is nothing in my maven-metadata-local.xml
有什么问题?
推荐答案
问题出在文件 ecommerce-web / maven-metadata-local.xml
,它包含 char(0)
(或 null
char或Unicode:
0x0
)。
清理所有本地存储库,或使用 com删除文件夹。 app:ecommerce-web
artifact
The problem is in file ecommerce-web/maven-metadata-local.xml
, it contains char(0)
(or null
char, or Unicode: 0x0
).
Clean all local repository, or delete folder with com.app:ecommerce-web
artifact
我的maven-metadata-local.xml没有任何内容>
There is nothing in my maven-metadata-local.xml
这不是真的。用记事本++打开你的文件,你会看到很多 null
s
It's not true. Open your file with Notepad++ and you will see many null
s
这篇关于maven安装错误 - 只有开始标记之前允许的空格内容,而不是\u0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文