Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Tamás Cservenák, 2 years ago
Failed to execute goal org.sonatype.plugins:nexus-m2settings-maven-plugin:1.5.1:download (default-cli) on project standalone-pom: Failed to save content to: C:\Users\xxx\.m2\settings.xml
via sonatype.org by Unknown author, 2 years ago
Failed to execute goal org.sonatype.plugins:nexus-m2settings-maven-plugin:1.5.2-SNAPSHOT:download (default-cli) on project nexus-maven-plugins: Connection failed
via openmrs.org by Unknown author, 1 year ago
Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.4.3:setup (default-cli) on project standalone-pom: Failed to setup server
via JIRA by Ding-Yi Chen, 1 year ago
Failed to execute goal org.zanata:zanata-maven-plugin:3.3.0:put-project (default-cli) on project standalone-pom: Zanata mojo exception
via JIRA by Ding-Yi Chen, 1 year ago
Failed to execute goal org.zanata:zanata-maven-plugin:3.1.2:push (default-cli) on project standalone-pom: Zanata mojo exception
via Sonatype JIRA by Peter Lynch, 2 years ago
Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.1:deploy-staged (default-cli) on project example-staging-m2: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.1:deploy-staged failed: BUG: finalizeDeploy invoked before deployPerModule?
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.plugins:nexus-m2settings-maven-plugin:1.5.1:download (default-cli) on project standalone-pom: Failed to save content to: C:\Users\xxx\.m2\settings.xml 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:606) 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 save content to: C:\Users\xxxx\.m2\settings.xml at org.sonatype.nexus.maven.m2settings.MojoSupport.fail(MojoSupport.java:77) at org.sonatype.nexus.maven.m2settings.DownloadMojo.save(DownloadMojo.java:398) at org.sonatype.nexus.maven.m2settings.DownloadMojo.doExecute(DownloadMojo.java:197) at org.sonatype.nexus.maven.m2settings.MojoSupport.execute(MojoSupport.java:40) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 moreCaused by: java.lang.IllegalArgumentException: No org.sonatype.nexus.client.core.spi.SubsystemProvider was able to create a subsystem of typecom.sonatype.nexus.usertoken.client.UserToken at org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.createSubsystem(JerseyNexusClient.java:195) at org.sonatype.nexus.client.internal.rest.AbstractNexusClient.getSubsystem(AbstractNexusClient.java:67) at org.sonatype.nexus.maven.m2settings.template.UserTokenCustomizer.getUserToken(UserTokenCustomizer.java:83) at org.sonatype.nexus.maven.m2settings.template.UserTokenCustomizer.getNameCode(UserTokenCustomizer.java:96) at org.sonatype.nexus.maven.m2settings.template.UserTokenCustomizer.getPlainValue(UserTokenCustomizer.java:66) at org.sonatype.nexus.maven.m2settings.template.MasterPasswordCustomizerSupport.getValue(MasterPasswordCustomizerSupport.java:72) at org.sonatype.nexus.maven.m2settings.template.TemplateInterpolatorCustomizerSupport$1.getValue(TemplateInterpolatorCustomizerSupport.java:59) at org.codehaus.plexus.interpolation.StringSearchInterpolator.interpolate(StringSearchInterpolator.java:197) at org.codehaus.plexus.interpolation.StringSearchInterpolator.interpolate(StringSearchInterpolator.java:124) at org.codehaus.plexus.interpolation.StringSearchInterpolator.interpolate(StringSearchInterpolator.java:103) at org.codehaus.plexus.interpolation.InterpolatorFilterReader.read(InterpolatorFilterReader.java:368) at org.codehaus.plexus.interpolation.InterpolatorFilterReader.read(InterpolatorFilterReader.java:209) at java.io.Reader.read(Reader.java:100) at com.google.common.io.CharStreams.copy(CharStreams.java:244) at org.sonatype.nexus.maven.m2settings.DownloadMojo.save(DownloadMojo.java:390) ... 23 more