sbt 0.11.1 doesn't retrieve scalatra 2.1.0-SNAPSHOT dependency

前端 未结 3 2126
栀梦
栀梦 2021-02-15 15:15

I\'ve just upgraded to sbt 0.11.1 that doesn\'t seem to be fetching a certain dependency. Things worked fine before the upgrade.

I have this dependency:

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-15 16:05

    Sometimes ivy cache entries get corrupted - simply remove ~/.ivy2/cache/org.scalatra/scalatra_2.9.1/jars/, and let SBT re-fetch the dependency from the remote repo. If it doesn't work, try to remove an entire cache directory (~/.ivy2/cache).

提交回复
热议问题