SBT ResolveException for org.flywaydb#flyway-sbt; 3.1 [英] SBT ResolveException for org.flywaydb#flyway-sbt;3.1

查看:262
本文介绍了SBT ResolveException for org.flywaydb#flyway-sbt; 3.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用sbt来编译以scala编写的服务器应用程序的源代码。当我运行sbt脚本,它开始下载一些软件包和解决一些依赖,并在最后一步,它返回以下错误:

I've been trying to use sbt for compiling the source code of a server app, written in scala. When I run the sbt script, it starts downloading some packages and resolving some dependencies and at the final step, it returns the following error:

sbt.ResolveException: unresolved dependency: org.flywaydb#flyway-sbt;3.1:not found

如果我忽略这个错误,我不能使用像compile这样的命令...

And if I ignore this error, I can't use commands like "compile", ...

我在Ubuntu 14.04上使用sbt之前编译了这个源代码,我需要的命令,但现在我在另一个系统上运行它,但是在相同的操作系统上,我得到这个错误。

I have compiled this source code before using sbt on ubuntu 14.04 and used the commands I needed, but now I'm running it on another system but on the same operating system and I am getting this error.

有无论如何解决这种依赖

Is there anyway to resolve this dependency?

感谢您的帮助。

推荐答案

你的解析器从http到https,你应该是好的

Make sure to switch your resolver from http to https and you should be good

这篇关于SBT ResolveException for org.flywaydb#flyway-sbt; 3.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆