IntelliJ Cannot Import sbt Project

前端 未结 14 1902
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:53

    I was also facing this issue. Below two configurations worked for me. I tried to confirm this setting in many new sbt projects, for all it worked.

    (1) uncheck "Library sources" under "Project level settings" for Build Tools sbt in IDEA preferences (2) -Dhttp.nonProxyHosts="host1|host2" option in File > Settings > Build, Excution, Deployment > sbt > VM parameters

提交回复
热议问题