maven : Failed to install metadata project Could not parse metadata maven-metadata-local.xml: only whitespace content allowed before start tag

I just wanted to document this error on the internet. There was no much help or I didn’t search properly.

Answer :

Go to the the path where the maven-metadata-local.xml is. Delete the project folder along with the xml and build the project.

It worked for me!

Leave a Comment