Error reading settings.xml
maven-2
Solution
This can happen if you've opened and saved your settings.xml from a non-text editor, which can add some non-printing characters to the file.
Try copying all the content and pasting into a new file using a text editor then renaming the file to settings.xml.
Problem
I wanted to run maven commands from the command line. While running mvn commands , getting the error- ``` Error reading settings.xml: only whitespace content allowed before start tag and not \ufffd (position: START_DOCUMENT seen \ufffd... @1:1) Line: 1 Column: 1 ``` what is the problem with my `settings.xml` ?