How to fix this “sbt.ResolveException: unresolved dependency: commons-logging#commons-logging;1.1.1:” exception?

前端 未结 4 1566
既然无缘
既然无缘 2021-02-04 05:39

I just clone the project scala-js-react, and run sbt, it reports some error about dependency.

I tried to fix it by add some resolvers, but no lucky.

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-04 06:00

    I fell into the exactly same problem of commons-collections:commons-collections:3.2.1. Thanks to Freewind, I just delete ivy-3.2.1.xml and ivydata-3.2.1.properties and it works correctly.

    I believe, at least in my case, these metadata files are corrupted but have no evidence to prove.

提交回复
热议问题