IntelliJ Cannot Import sbt Project

前端 未结 14 1903
Happy的楠姐
Happy的楠姐 2021-01-29 23:14

I have upgraded IntelliJ to version CE 2017.3 from a CE 2017.2.5, and now I cannot build my sbt project. The build gets stuck on the first step:

\"Build: sync
           


        
14条回答
  •  说谎
    说谎 (楼主)
    2021-01-29 23:52

    I solved the sync issue following info here: https://youtrack.jetbrains.com/issue/SCL-13024

    Key info is "It seems that sbt is trying to re-resolve 'sources' and 'docs' for sbt plugins that are not available at all. If properties to download "Library sources" and "sbt sources" are disabled, then time to dump the structure is reduced from 'forever' to less than 1 minute."

    That is , in IntelliJ IDEA, clear the check box "Library sources" under "Project level settings" for Build Tools sbt in IDEA preferences. As shown in image below:

提交回复
热议问题