[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]
there is nothing in my maven-metadata-local.xml
what is the problem?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With