org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.5.1:deploy (default-deploy) on project parent-pom: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081/nexus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())

Sonatype JIRA | Peter Lynch | 3 years ago
  1. 0

    Only one report so far and Sonatype has not be able to reproduce this. Some deployments with Nexus staging Maven plugin fail with a stack trace similar to: {noformat} [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.5.1:deploy (default-deploy) on project parent-pom: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081/nexus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.5.1:deploy (default-deploy) on project parent-pom: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081/nexus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081/nexus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) at org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.createNexusClient(RemotingImpl.java:236) at org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.getNexusClient(RemotingImpl.java:139) at org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.getStagingWorkflowV2Service(RemotingImpl.java:151) at org.sonatype.nexus.maven.staging.deploy.strategy.AbstractStagingDeployStrategy.initRemoting(AbstractStagingDeployStrategy.java:97) at org.sonatype.nexus.maven.staging.deploy.strategy.StagingDeployStrategy.deployPerModule(StagingDeployStrategy.java:70) at org.sonatype.nexus.maven.staging.deploy.DeployMojo.execute(DeployMojo.java:193) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) at org.sonatype.plexus.rest.xstream.xml.LookAheadXppDriver.loadLibrary(LookAheadXppDriver.java:66) at org.sonatype.plexus.rest.xstream.xml.LookAheadXppDriver.createReader(LookAheadXppDriver.java:52) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1011) at org.sonatype.nexus.client.internal.rest.XStreamXmlProvider.readFrom(XStreamXmlProvider.java:84) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:565) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:517) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:684) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507) at org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.getStatus(JerseyNexusClient.java:147) at org.sonatype.nexus.client.internal.rest.AbstractNexusClient.initializeConnection(AbstractNexusClient.java:87) at org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.<init>(JerseyNexusClient.java:91) at org.sonatype.nexus.client.rest.jersey.NexusClientFactoryImpl.createFor(NexusClientFactoryImpl.java:110) at org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.createNexusClient(RemotingImpl.java:221) ... 26 more {noformat}

    Sonatype JIRA | 3 years ago | Peter Lynch
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.5.1:deploy (default-deploy) on project parent-pom: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081/nexus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
  2. 0

    building my project from a master build pom {noformat} These will use the artifact files already in the core ClassRealm instead, to allow them to be included in PluginDescriptor.getArtifacts(). [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war' --> [DEBUG] (s) archiveClasses = false [DEBUG] (s) cacheFile = /data/cruisecontrol/projects/MavenBuildModule-2-2-36/VcCasinoCapi/target/war/work/webapp-cache.xml [DEBUG] (s) classesDirectory = /data/cruisecontrol/projects/MavenBuildModule-2-2-36/VcCasinoCapi/target/classes [DEBUG] (s) filters = [] [DEBUG] (f) outputDirectory = /data/cruisecontrol/projects/MavenBuildModule-2-2-36/VcCasinoCapi/target [DEBUG] (f) primaryArtifact = true [DEBUG] (s) project = MavenProject: com.vcint:VcCasinoCapi:2.2.36-SNAPSHOT @ /data/cruisecontrol/projects/MavenBuildModule-2-2-36/VcCasinoCapi/pom.xml [DEBUG] (s) useCache = true [DEBUG] (f) warName = VcCasinoCapi [DEBUG] (s) warSourceDirectory = /data/cruisecontrol/projects/MavenBuildModule-2-2-36/VcCasinoCapi/src/main/webapp [DEBUG] (s) webappDirectory = /data/cruisecontrol/projects/MavenBuildModule-2-2-36/VcCasinoCapi/target/VcCasinoCapi [DEBUG] (s) workDirectory = /data/cruisecontrol/projects/MavenBuildModule-2-2-36/VcCasinoCapi/target/war/work [DEBUG] -- end configuration -- [INFO] [war:war] [INFO] Packaging webapp [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) [INFO] ------------------------------------------------------------------------ [DEBUG] Trace java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) at com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java:42) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:29) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781) at org.apache.maven.plugin.war.util.WebappStructureSerializer.fromXml(WebappStructureSerializer.java:48) at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:346) at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:317) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:166) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:130) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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:324) 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) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16 seconds [INFO] Finished at: Tue Feb 17 14:23:49 CET 2009 [INFO] Final Memory: 11M/21M [INFO] ------------------------------------------------------------------------ {noformat}

    Apache's JIRA Issue Tracker | 8 years ago | Matthew Corby-Eaglen
    java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
  3. 0

    [jira] Created: (MWAR-184) FATAL ERROR - XPP3 pull parser library not present. Specify another driver. - Grokbase

    grokbase.com | 8 months ago
    java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    XPP3 Pull Parser Library not Present - Atlassian Documentation

    atlassian.com | 8 months ago
    java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
  6. 0

    Jenkins users - XPP3 pull parser library not present. Specify another driver.

    nabble.com | 8 months ago
    java.lang.Error: java.lang.reflect.InvocationTargetException

    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. java.lang.IllegalArgumentException

      XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())

      at org.sonatype.plexus.rest.xstream.xml.LookAheadXppDriver.loadLibrary()
    2. ${project.groupId}:${project.artifactId}
      LookAheadXppDriver.createReader
      1. org.sonatype.plexus.rest.xstream.xml.LookAheadXppDriver.loadLibrary(LookAheadXppDriver.java:66)
      2. org.sonatype.plexus.rest.xstream.xml.LookAheadXppDriver.createReader(LookAheadXppDriver.java:52)
      2 frames
    3. XStream Core
      XStream.fromXML
      1. com.thoughtworks.xstream.XStream.fromXML(XStream.java:1011)
      1 frame
    4. org.sonatype.nexus
      XStreamXmlProvider.readFrom
      1. org.sonatype.nexus.client.internal.rest.XStreamXmlProvider.readFrom(XStreamXmlProvider.java:84)
      1 frame
    5. jersey-client
      WebResource$Builder.get
      1. com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:565)
      2. com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:517)
      3. com.sun.jersey.api.client.WebResource.handle(WebResource.java:684)
      4. com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
      5. com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507)
      5 frames
    6. org.sonatype.nexus
      DeployMojo.execute
      1. org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.getStatus(JerseyNexusClient.java:147)
      2. org.sonatype.nexus.client.internal.rest.AbstractNexusClient.initializeConnection(AbstractNexusClient.java:87)
      3. org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.<init>(JerseyNexusClient.java:91)
      4. org.sonatype.nexus.client.rest.jersey.NexusClientFactoryImpl.createFor(NexusClientFactoryImpl.java:110)
      5. org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.createNexusClient(RemotingImpl.java:221)
      6. org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.getNexusClient(RemotingImpl.java:139)
      7. org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.getStagingWorkflowV2Service(RemotingImpl.java:151)
      8. org.sonatype.nexus.maven.staging.deploy.strategy.AbstractStagingDeployStrategy.initRemoting(AbstractStagingDeployStrategy.java:97)
      9. org.sonatype.nexus.maven.staging.deploy.strategy.StagingDeployStrategy.deployPerModule(StagingDeployStrategy.java:70)
      10. org.sonatype.nexus.maven.staging.deploy.DeployMojo.execute(DeployMojo.java:193)
      10 frames
    7. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
      1 frame
    8. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      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:317)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
      9 frames
    9. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      3 frames
    10. 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
    11. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames