org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace content allowed before start tag and not \u9518 (position: START_DOCUMENT seen \u9518... @1:1)

csdn.net | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    tomcat-maven web启动服务器是出现错误error creating fake context.xml——CSDN问答频道

    csdn.net | 7 months ago
    org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace content allowed before start tag and not \u9518 (position: START_DOCUMENT seen \u9518... @1:1)
  2. 0

    Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C:\Program Files\Java\jre7

    Stack Overflow | 5 years ago
    org.codehaus.plexus.util.xml.pull.XmlPullParserException: processing instruction can not have PITarget with reserveld xml name (position: START_D OCUMENT seen \r\n<?xml ... @2:7)
  3. 0

    [MNG-3242] It's not possible to get a property with unescaped & sign for urls - jira.codehaus.org

    codehaus.org | 2 years ago
    hudson.maven.MavenEmbedder$1: Cannot read project model from interpolating filter of serialized version. for project de.neckert:mvntest at /tmp/mvntest/pom.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 47#192587865

    GitHub | 1 year ago | rultor
    org.apache.maven.model.io.ModelParseException: unexpected character in markup < (position: END_TAG seen ...<echo>Copy README.md to site/index.md</echo>\n<<... @479:3)
  6. 0

    Hi, The Sonar Maven plugin cannot properly parse a <name/> tags containing escaped characters such as an ampersand. Please, check below: {code} [INFO] ------------------------------------------------------------------------ [INFO] Building SEO View V&D [INFO] task-segment: [org.codehaus.mojo:findbugs-maven-plugin:2.3.1:findbugs] [INFO] ------------------------------------------------------------------------ [INFO] Preparing findbugs:findbugs [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [findbugs:findbugs {execution: default-cli}] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Can not execute Sonar Embedded error: Unable to execute maven plugin entity reference name can not contain character "' (position: START_DOCUMENT seen ...<project name="SEO View V&D"... @21:29) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) 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:597) 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.plugin.MojoExecutionException: Can not execute Sonar at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:103) at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:79) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:88) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.sonar.api.utils.SonarException: Unable to execute maven plugin at org.sonar.maven.Maven2PluginExecutor.execute(Maven2PluginExecutor.java:67) at org.sonar.maven.Maven2PluginExecutor.execute(Maven2PluginExecutor.java:46) at org.sonar.batch.SensorsExecutor.executeMavenPlugin(SensorsExecutor.java:69) at org.sonar.batch.SensorsExecutor.execute(SensorsExecutor.java:55) at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:59) at org.sonar.batch.Batch.analyzeProject(Batch.java:113) at org.sonar.batch.Batch.analyzeProject(Batch.java:110) at org.sonar.batch.Batch.analyzeProjects(Batch.java:82) at org.sonar.batch.Batch.execute(Batch.java:57) at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:142) at org.sonar.maven.SonarMojo.execute(SonarMojo.java:133) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:98) ... 21 more Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred in FindBugs Report report generation. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.sonar.maven.Maven2PluginExecutor.execute(Maven2PluginExecutor.java:64) ... 33 more Caused by: org.apache.maven.plugin.MojoExecutionException: An error has occurred in FindBugs Report report generation. at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:79) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 39 more Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: entity reference name can not contain character "' (position: START_DOCUMENT seen ...<project name="SEO View V&D"... @21:29) at org.codehaus.plexus.util.xml.pull.MXParser.parseEntityRef(MXParser.java:2222) at org.codehaus.plexus.util.xml.pull.MXParser.parseAttribute(MXParser.java:2047) at org.codehaus.plexus.util.xml.pull.MXParser.parseStartTag(MXParser.java:1799) at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1479) at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395) at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093) at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:187) at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:83) at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:48) at org.codehaus.doxia.module.xhtml.decoration.model.DecorationModelReader.createNavigation(DecorationModelReader.java:30) at org.codehaus.doxia.site.renderer.DefaultSiteRenderer.createSink(DefaultSiteRenderer.java:244) at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:70) ... 41 more {code} The project otherwise builds correctly and the name tag is as follows: {code} <name>SEO View V&amp;D</name> {code} Currently, the only workaround is to drop such characters from your POM files, but this shouldn't be so. Please, fix! Regards, Martin Todorov

    SonarSource JIRA | 6 years ago | Martin Todorov
    org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar

    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 \u9518 (position: START_DOCUMENT seen \u9518... @1:1)

      at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog()
    2. Plexus Common Utilities
      Xpp3DomBuilder.build
      1. org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1528)
      2. org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1407)
      3. org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105)
      4. org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:179)
      5. org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:75)
      6. org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:40)
      6 frames
    3. org.apache.tomcat
      AbstractRunMojo.execute
      1. org.apache.tomcat.maven.plugin.tomcat6.RunMojo.getContextFile(RunMojo.java:254)
      2. org.apache.tomcat.maven.plugin.tomcat6.AbstractRunMojo.createContext(AbstractRunMojo.java:533)
      3. org.apache.tomcat.maven.plugin.tomcat6.RunMojo.createContext(RunMojo.java:134)
      4. org.apache.tomcat.maven.plugin.tomcat6.AbstractRunMojo.startContainer(AbstractRunMojo.java:825)
      5. org.apache.tomcat.maven.plugin.tomcat6.AbstractRunMojo.execute(AbstractRunMojo.java:463)
      5 frames
    4. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      9 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      4 frames