IntelliJ Cannot Import sbt Project

前端 未结 14 1925
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-30 00:05

    Had an older checked out project causing this issue. Did the usual rm -rf .idea + re-import but it kept getting stuck. Tried all sorts of things, but when finally fixed it for me was not just deleting the top-level target folder, but instead doing

    find . -name target -type d -exec rm -rf {} \;
    

    Next open / import went flawlessly. (This was on 2018.1.5, 2018.1.6 and 2018.2 RC.)

提交回复
热议问题