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

Samebug tips

  1. ,

    Thrown by the methods of the String class to indicate that an index is either negative, or greater than the size of the string itself. You are probably using the wrong index when accessing substring of the array.

Solutions on the web

via Coderanch by Teena Mariam, 1 year ago
Error deploying artifact: Failed to transfer file: http://snapshots.jboss.org/maven2/com.mycompany.app/jars/my-app-1.0-20091014.091039-1.jar. Re turn code is: 405
via maven-wagon-users by droidin.net, 2 years ago
Error deploying artifact: Failed to transfer file: http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar. Return code is: 409
via maven-wagon-users by droidin.net, 2 years ago
Error deploying artifact: Failed to transfer file: http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar. Return code is: 409
via Sonatype JIRA by Andrea Aime, 1 year ago
Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401
org.apache.maven.lifecycle.LifecycleExecutionException: Transfer failed at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) 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.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: Transfer failed at org.apache.felix.obrplugin.RemoteFileManager.put(RemoteFileManager.java:220) at org.apache.felix.obrplugin.RemoteFileManager.lockFile(RemoteFileManager.java:294) at org.apache.felix.obrplugin.ObrDeploy.execute(ObrDeploy.java:214) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 moreCaused by: org.apache.maven.wagon.TransferFailedException: Transfer of resource repository.xml.lockfailed at org.springframework.aws.maven.AbstractWagon.put(AbstractWagon.java:277) at org.apache.felix.obrplugin.RemoteFileManager.put(RemoteFileManager.java:216) ... 21 moreCaused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.springframework.aws.maven.SimpleStorageServiceWagon.getDestinationPath(SimpleStorageServiceWagon.java:191) at org.springframework.aws.maven.SimpleStorageServiceWagon.putResource(SimpleStorageServiceWagon.java:150) at org.springframework.aws.maven.AbstractWagon.put(AbstractWagon.java:262) ... 22 more