org.apache.maven.lifecycle.LifecycleExecutionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Issue with 3.4-M5-SNAPSHOT
    via GitHub by BasavaiahD
    ,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on project usergrid: Failed to deploy artifacts: Could not transfer artifact org.apache.usergrid:usergrid:pom:1.0.0 from/to aws-release (s3://maven.prayagupd.co/release): Unable to unmarshall response (Couldn't initialize a SAX driver to create an XMLReader). Response Code: 200, Response Text: OK at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 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:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to deploy artifacts: Could not transfer artifact org.apache.usergrid:usergrid:pom:1.0.0 from/to aws-release (s3://maven.prayagupd.co/release): Unable to unmarshall response (Couldn't initialize a SAX driver to create an XMLReader). Response Code: 200, Response Text: OK at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:192) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact org.apache.usergrid:usergrid:pom:1.0.0 from/to aws-release (s3://maven.prayagupd.co/release): Unable to unmarshall response (Couldn't initialize a SAX driver to create an XMLReader). Response Code: 200, Response Text: OK at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:141) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148) ... 21 more Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.apache.usergrid:usergrid:pom:1.0.0 from/to aws-release (s3://maven.prayagupd.co/release): Unable to unmarshall response (Couldn't initialize a SAX driver to create an XMLReader). Response Code: 200, Response Text: OK at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:280) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:211) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:443) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137) ... 22 more Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact org.apache.usergrid:usergrid:pom:1.0.0 from/to aws-release (s3://maven.prayagupd.co/release): Unable to unmarshall response (Couldn't initialize a SAX driver to create an XMLReader). Response Code: 200, Response Text: OK at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:837) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:467) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:274) ... 25 more Caused by: com.amazonaws.AmazonClientException: Unable to unmarshall response (Couldn't initialize a SAX driver to create an XMLReader). Response Code: 200, Response Text: OK at com.amazonaws.http.AmazonHttpClient.handleResponse(AmazonHttpClient.java:713) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:395) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:229) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3384) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3336) at com.amazonaws.services.s3.AmazonS3Client.getBucketLocation(AmazonS3Client.java:669) at com.amazonaws.services.s3.AmazonS3Client.getBucketLocation(AmazonS3Client.java:677) at org.springframework.build.aws.maven.SimpleStorageServiceWagon.connectToRepository(SimpleStorageServiceWagon.java:86) at org.springframework.build.aws.maven.AbstractWagon.connect(AbstractWagon.java:146) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.connectWagon(WagonRepositoryConnector.java:345) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.pollWagon(WagonRepositoryConnector.java:385) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:803) ... 27 more Caused by: com.amazonaws.AmazonClientException: Couldn't initialize a SAX driver to create an XMLReader at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:112) at com.amazonaws.services.s3.model.transform.Unmarshallers$BucketLocationUnmarshaller.unmarshall(Unmarshallers.java:119) at com.amazonaws.services.s3.model.transform.Unmarshallers$BucketLocationUnmarshaller.unmarshall(Unmarshallers.java:116) at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:62) at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:31) at com.amazonaws.http.AmazonHttpClient.handleResponse(AmazonHttpClient.java:687) ... 38 more Caused by: org.xml.sax.SAXException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:229) at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:190) at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:110) ... 43 more Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:73) at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:227) ... 45 more

    Users with the same issue

    davidvanlaatumdavidvanlaatum
    1 times, last one,
    andyglickandyglick
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    94 more bugmates