Issue
[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?
Solution
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
Answered By - Ilya
Answer Checked By - David Marino (JavaFixing Volunteer)