How to fully clean, re-resolve and rebuild a Scala sbt-managed project in IDEA?

前端 未结 10 696
一向
一向 2021-02-02 06:18

TL;DR: How can I fully reconcile all dependencies in IntelliJ when SBT file changes

I have a SBT project setup in IntelliJ. For the most part if works l

10条回答
  •  逝去的感伤
    2021-02-02 06:52

    What worked for me was to:

    1) Close IntelliJ

    2) delete .idea/libraries internals

    3) Start IntelliJ

    4) right-clicked pom.xml Maven > Reimport

    After that there were no old versions and duplicate libraries in the External Libraries.

提交回复
热议问题