Dependencies 为什么Jfrog Artifactory返回401 unauthorized作为具有匿名读取权限的工件?
我成功地向Jfrog发布了sbt回购协议 我还成功地从一个测试项目中使用了这个repo,其中build.sbt是Dependencies 为什么Jfrog Artifactory返回401 unauthorized作为具有匿名读取权限的工件?,dependencies,sbt,unauthorized,artifact,jfrog,Dependencies,Sbt,Unauthorized,Artifact,Jfrog,我成功地向Jfrog发布了sbt回购协议 我还成功地从一个测试项目中使用了这个repo,其中build.sbt是 credentials += Credentials(Path.userHome / ".sbt" / ".credentials") resolvers += "Artifactory" at "https://hyperbot.jfrog.io/artifactory/hyperbot/" lib
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
resolvers += "Artifactory" at "https://hyperbot.jfrog.io/artifactory/hyperbot/"
libraryDependencies += "com.example" % "scalautils_2.13" % "0.1.0-SNAPSHOT"
但是,如果我没有在build.sbt中提交凭据,那么build将返回401个未经筛选的错误,用于解析“com.example”%”scalautils_2.13“%”0.1.0-SNAPSHOT“
依赖项
如果我尝试打开工件url
在浏览器中,它要求提供凭证(如果我提供凭证,则提供工件)
匿名用户的权限设置为在此存储库中读取
如何允许匿名访问此工件?仅为匿名用户设置访问权限是不够的,您还需要启用一般的匿名访问: 问题解决了