When you build the Eclipse project code structure using MAVEN Eclipse:eclipse, you encounter the following WARNING message: [WARNING] could not read workspace project From:e:\javaspace \webapi-mavenorg.codehaus.plexus.util.xml.pull.xmlpullparserexception:only whitespace content allowed before start Tag and not \u9518 (position:start_document seen \u9518 ... @1:1)At Org.codehaus.plexus.util.xml.pull.MXParser.parseProlog (mxparser.java:1557)At Org.codehaus.plexus.util.xml.pull.MXParser.nextImpl (mxparser.java:1436)At Org.codehaus.plexus.util.xml.pull.MXParser.next (mxparser.java:1131)At Org.codehaus.plexus.util.xml.Xpp3DomBuilder.build (xpp3dombuilder.java:186)At Org.codehaus.plexus.util.xml.Xpp3DomBuilder.build (xpp3dombuilder.java:75)At Org.codehaus.plexus.util.xml.Xpp3DomBuilder.build (xpp3dombuilder.java:40)
Cause of error:is the Pom.xml file format problem, you need to modify the file to UTF-8 no BOM format;For example: just UTF8 encoding format is not possible, you can use the document editor (notepad++, UltraEdit, etc.) to change the format to UTF8 no BOM format (Utf-8 without BOM) just fine.
Some blogs say what work space is locked, re-build a workspace There is no problem, a kind of misleading feeling ~ ~ (obviously XML Pareser exception).
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Xmlpullparserexception exception when MAVEN generates code structure