SBT发布失败 - Sonatype Nexus .3.2.1-01 OSS

时间:2017-03-15 01:31:00

标签: nexus

在nexus OSS中从2.14.3升级到3.2.1-01后,sbt universal:publish开始失败。它失败并出现错误java.io.IOException:写入服务器时出错。

Nexus日志不提供任何信息。这对我们来说是一个阻碍者。任何帮助非常感谢。感谢。

完整的错误跟踪如下。

java.io.IOException:写入服务器时出错     at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:699)     在sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:711)     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1567)     在sun.net.www.protocol.http.HttpURLConnection.access $ 200(HttpURLConnection.java:91)     在sun.net.www.protocol.http.HttpURLConnection $ 9.run(HttpURLConnection.java:1466)     在sun.net.www.protocol.http.HttpURLConnection $ 9.run(HttpURLConnection.java:1464)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1463)     在java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)     在org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:264)     在org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)     at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)     在sbt.ConvertResolver $ LocalIfFileRepo.put(ConvertResolver.scala:243)     at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)     at sbt.ConvertResolver $ ChecksumFriendlyURLResolver $ class.put(ConvertResolver.scala:81)     at sbt.ConvertResolver $$ anonfun $ defaultConvert $ 1 $ PluginCapableResolver $ 1.put(ConvertResolver.scala:115)     at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:216)     在sbt.IvyActions $$ anonfun $ publish $ 3.apply(IvyActions.scala:336)     在sbt.IvyActions $$ anonfun $ publish $ 3.apply(IvyActions.scala:335)     在scala.collection.TraversableLike $ WithFilter $$ anonfun $ foreach $ 1.apply(TraversableLike.scala:772)     在scala.collection.mutable.ResizableArray $ class.foreach(ResizableArray.scala:59)     在scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)     在scala.collection.TraversableLike $ WithFilter.foreach(TraversableLike.scala:771)     在sbt.IvyActions $ .publish(IvyActions.scala:335)     在sbt.IvyActions $$ anonfun $ publish $ 1 $$ anonfun $ apply $ 1.apply $ mcV $ sp(IvyActions.scala:121)     在sbt.IvyActions $$ anonfun $ publish $ 1 $$ anonfun $ apply $ 1.apply(IvyActions.scala:121)     在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)     在sbt.IvyActions $$ anonfun $ publish $ 1.apply(IvyActions.scala:121)     在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)     在xsbt.boot.Using $ .withResource(Using.scala:10)     在xsbt.boot.Using $ .apply(Using.scala:9)     在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)     在xsbt.boot.Locks $ .apply(Locks.scala:28)     在sbt.IvySbt.withDefaultLogger(Ivy.scala:65)     在sbt.IvySbt.withIvy(Ivy.scala:127)     在sbt.IvySbt.withIvy(Ivy.scala:124)     在sbt.IvySbt $ Module.withModule(Ivy.scala:155)     在sbt.IvyActions $ .publish(IvyActions.scala:114)     在sbt.Classpaths $$ anonfun $ publishTask $ 1.apply(Defaults.scala:1283)     在sbt.Classpaths $$ anonfun $ publishTask $ 1.apply(Defaults.scala:1282)     在scala.Function3 $$ anonfun $ tupled $ 1.apply(Function3.scala:35)     在scala.Function3 $$ anonfun $ tupled $ 1.apply(Function3.scala:34)     在scala.Function1 $$ anonfun $ compose $ 1.apply(Function1.scala:47)     at sbt。$ tilde $ greater $$ anonfun $$ u2219 $ 1.apply(TypeFunctions.scala:40)     在sbt.std.Transform $$ anon $ 4.work(System.scala:63)     在sbt.Execute $$ anonfun $ submit $ 1 $$ anonfun $ apply $ 1.apply(Execute.scala:226)     在sbt.Execute $$ anonfun $ submit $ 1 $$ anonfun $ apply $ 1.apply(Execute.scala:226)     在sbt.ErrorHandling $ .wideConvert(ErrorHandling.scala:17)     在sbt.Execute.work(Execute.scala:235)     在sbt.Execute $$ anonfun $ submit $ 1.apply(Execute.scala:226)     在sbt.Execute $$ anonfun $ submit $ 1.apply(Execute.scala:226)     at sbt.ConcurrentRestrictions $$ anon $ 4 $$ anonfun $ 1.apply(ConcurrentRestrictions.scala:159)     在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)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)     在java.lang.Thread.run(Thread.java:745) [error](universal:publish)java.io.IOException:写入服务器时出错

0 个答案:

没有答案