org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. Reason: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) for project unknown at /home/marica/quick/pom.xml

Apache's JIRA Issue Tracker | Maria Catherine Tan | 7 years ago
  1. 0

    [MNG-4667] Maven 2.2.1 XML parser fails to parse a UTF-8 POM that begins with a BOM - ASF JIRA

    apache.org | 1 year ago
    org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. Reason: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) for project unknown at /home/marica/quick/pom.xml
  2. 0

    [jira] Created: (MNG-4667) Maven 2.2.1 XML parser fails to parse a UTF-8 POM that begins with a BOM - Grokbase

    grokbase.com | 4 months ago
    org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. Reason: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) for project unknown at /home/marica/quick/pom.xml
  3. 0

    [MNG-4667] Maven 2.2.1 XML parser fails to parse a UTF-8 POM that begins with a BOM - ASF JIRA

    apache.org | 1 year ago
    org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. Reason: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) for project unknown at /home/marica/quick/pom.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I've seen a lot of issues related to this that were closed because they're a duplicate of MNG-2254 but I think the fix for MNG-2254 doesn't fix this issue. I'm using maven 2.2.1 and the build failed when the UTF-8 POM begins with a BOM. Here's the log when running clean install {noformat} Reason: Parse error reading POM. Reason: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) for project unknown at /home/marica/quick/pom.xml [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. Reason: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) for project unknown at /home/marica/quick/pom.xml at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.InvalidProjectModelException: Parse error reading POM. Reason: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) for project unknown at /home/marica/quick/pom.xml at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1610) at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1571) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391) ... 12 more Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) at hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1528) at hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1407) at hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105) at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:3911) at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1606) {noformat}

    Apache's JIRA Issue Tracker | 7 years ago | Maria Catherine Tan
    org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. Reason: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1) for project unknown at /home/marica/quick/pom.xml
  6. 0

    Maven - Issues - Created: (MNG-4667) Maven 2.2.1 XML parser fails to parse a UTF-8 POM that begins with a BOM

    nabble.com | 2 years ago
    org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.plexus.util.xml.pull.XmlPullParserException

      only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1)

      at hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog()
    2. hidden.org.codehaus
      MXParser.next
      1. hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1528)
      2. hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1407)
      3. hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105)
      3 frames
    3. Maven
      DefaultMavenProjectBuilder.readModel
      1. org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:3911)
      2. org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1606)
      2 frames