maven install error - only whitespace content allowed before start tag and not \u0
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
There is nothing in my maven-metadata-local.xml
It's not true. Open your file with Notepad++ and you will see many null
s
Just go under
C:\Users\admin\.m2\repository\com\app\ecommerce-web\
and delete maven-metadata-local.xml
Then do a clean install one more time, this should fix the problem and that's what I did.