java.io.IOException: PUT operation to URL http://<server ip>/artifactory/<repo>/com/<company>/<package>_2.11/1.0/<package>_2.11-1.0.jar failed with status code 301: Moved Permanently

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 Stack Overflow by GilZ
, 11 months ago
PUT operation to URL http://<server ip>/artifactory/<repo>/com/<company>/<package>_2.11/1.0/<package>_2.11-1.0.jar failed with status code 301: Moved Permanently
via Sonatype JIRA by Durga Sahoo, 11 months ago
Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/flipkart/connekt/concord_2.11/0.2.0/concord_2.11-0.2.0.pom was refused by the server: Unauthorized
via Sonatype JIRA by Akara Sucharitakul, 1 year ago
Access to URL https://oss.sonatype.org/content/repositories/snapshots/org/squbs/squbs-httpclient_2.11/0.7.2-SNAPSHOT/squbs-httpclient_2.11-0.7.2-SNAPSHOT.jar.asc was refused by the server: Unauthorized
via Sonatype JIRA by Valentin Kasas, 1 year ago
Access to URL https://oss.sonatype.org/content/repositories/snapshots/io/kanaka/play-monadic-actions_2.11/1.1.0-SNAPSHOT/play-monadic-actions_2.11-1.1.0-SNAPSHOT.jar.asc was refused by the server: Unauthorized
via GitHub by retronym
, 4 months ago
PUT operation to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/org/scala-lang/scala-library-all/2.12.3/scala-library-all-2.12.3.pom failed with status code 504: GATEWAY_TIMEOUT
java.io.IOException: PUT operation to URL http://<server ip>/artifactory/<repo>/com/<company>/<package>_2.11/1.0/<package>_2.11-1.0.jar failed with status code 301: Moved Permanently
at org.apache.ivy.util.url.AbstractURLHandler.validatePutStatusCode(AbstractURLHandler.java:82)
at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:264)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
at sbt.ConvertResolver$LocalIfFileRepo.put(ConvertResolver.scala:243)
at sbt.ConvertResolver$ChecksumFriendlyURLResolver$class.put(ConvertResolver.scala:81)
at sbt.IvyActions$$anonfun$publish$3.apply(IvyActions.scala:336)
at sbt.IvyActions$$anonfun$publish$3.apply(IvyActions.scala:335)
at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at sbt.IvyActions$.publish(IvyActions.scala:335)
at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply$mcV$sp(IvyActions.scala:121)
at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply(IvyActions.scala:121)
at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply(IvyActions.scala:121)
at sbt.IvyActions$.withChecksums(IvyActions.scala:130)
at sbt.IvyActions$.sbt$IvyActions$$withChecksums(IvyActions.scala:125)
at sbt.IvyActions$$anonfun$publish$1.apply(IvyActions.scala:121)
at sbt.IvyActions$$anonfun$publish$1.apply(IvyActions.scala:114)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:132)
at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
at xsbt.boot.Using$.withResource(Using.scala:10)
at xsbt.boot.Using$.apply(Using.scala:9)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
at sbt.IvySbt.withIvy(Ivy.scala:127)
at sbt.IvySbt.withIvy(Ivy.scala:124)
at sbt.IvySbt$Module.withModule(Ivy.scala:155)
at sbt.IvyActions$.publish(IvyActions.scala:114)
at sbt.Classpaths$$anonfun$publishTask$1.apply(Defaults.scala:1283)
at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:35)
at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:34)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:235)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.