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. ,
    Expert tip

    Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Sonatype JIRA by Maciek Makowski, 1 year ago
to an error: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml
via Sonatype JIRA by Maciek Makowski, 2 years ago
to an error: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml
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
via Sonatype JIRA by Andrea Aime, 2 years 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
java.io.IOException: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397)	at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115)	at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)	at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)	at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546)	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadataFromDeploymentRepository(DefaultWagonManager.java:452)	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.getArtifactMetadataFromDeploymentRepository(DefaultRepositoryMetadataManager.java:379)	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:347)	at org.apache.maven.artifact.transform.SnapshotTransformation.resolveLatestSnapshotBuildNumber(SnapshotTransformation.java:161)	at org.apache.maven.artifact.transform.SnapshotTransformation.transformForDeployment(SnapshotTransformation.java:100)	at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForDeployment(DefaultArtifactTransformationManager.java:74)	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:86)	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)	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:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:616)	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)