maven : Failed to install metadata project Could not parse metadata maven-metadata-local.xml: only w

约定不等于承诺〃 2022-05-15 05:26 681阅读 0赞

【参考自stackoverflow,亲测有效】

问题:Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project : Failed to install metadata project:1.0-SNAPSHOT/maven-metadata.xml: Could not parse metadata C:\Users.m2\project\1.0-SNAPSHOT\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0… @1:1) -> [Help 1]

  1. Answer :
  2. Go to the the path where the maven-metadata-local.xml is. Delete the project folder along with the xml and build the project.
  3. It worked for me!

发表评论

表情:
评论列表 (有 0 条评论,681人围观)

还没有评论,来说两句吧...

相关阅读