403响应时,试图获取akkastatsdcore与SBT编译

2022-01-30 15:09:11 标签 sbt

我试图在我的scala sbt项目中使用akka-statsd-core 3。1。0作为一个附属品。

一段时间后,应用程序完全运行,突然[sbt编译]命令导致错误:

[error]   download error: Caught java.io.IOException: Server returned HTTP response code: 403 for URL: http://nexus.thenewmotion.com/content/groups/public/com/newmotion/akka-statsd-core_2.12/3.1.0/akka-statsd-core_2.12-3.1.0.pom (Server returned HTTP response code: 403 for URL: http://nexus.thenewmotion.com/content/groups/public/com/newmotion/akka-statsd-core_2.12/3.1.0/akka-statsd-core_2.12-3.1.0.pom) while downloading http://nexus.thenewmotion.com/content/groups/public/com/newmotion/akka-statsd-core_2.12/3.1.0/akka-statsd-core_2.12-3.1.0.pom

我没有任何vpn的ssh隧道。

我使用相同的wifi和相同的建筑

name := """name-of-proj"""
organization := "com.org"
version := "1.0-SNAPSHOT"
lazy val root = (project in file("."))
  .enablePlugins(PlayScala)
  .enablePlugins(DockerPlugin)
scalaVersion := "2.12.8"
libraryDependencies += guice
libraryDependencies += ws
libraryDependencies += caffeine
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.7.1"
libraryDependencies += "com.typesafe.slick" %% "slick-hikaricp" % "3.2.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.10.2"
libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.46"
libraryDependencies += "org.bouncycastle" % "bcprov-jdk15on" % "1.61"
libraryDependencies += "com.newmotion" %% "akka-statsd-core" % "3.1.0"
libraryDependencies += "org.mockito" % "mockito-core" % "2.24.5" % Test
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
libraryDependencies += "com.innovid" % "test-db-generator" % "0.1.+" % Test
libraryDependencies += "com.innovid" % "bb-framework-config" % "0.1.+" % Test
resolvers ++= Seq(
  "Secured Central Repository" at "https://repo1.maven.org/maven2",
  "Innovid Repo" at "http://artifactory.inbake.com:8081/artifactory/libs-release-local",
  "TNM Public Releases" at "http://nexus.thenewmotion.com/content/groups/public"
)

如果有人知道什么能引起这种改变,我会很感激。

提前谢谢!

阅读全文

▼ 版权说明

相关文章也很精彩
推荐内容
更多标签
相关热门
全站排行
随便看看

错说 cuoshuo.com —— 程序员的报错记录

部分内容根据CC版权协议转载;网站内容仅供参考,生产环境使用务必查阅官方文档

辽ICP备19011660号-5

×

扫码关注公众号:职场神器
发送: 1
获取永久解锁本站全部文章的验证码