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

牧云@^-^@ 提交于 2019-12-24 12:15:58

问题


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

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

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?

Thanks for your help.


回答1:


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



来源:https://stackoverflow.com/questions/35814062/sbt-resolveexception-for-org-flywaydbflyway-sbt3-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!