Why does sbt compile fail with StackOverflowError?

后端 未结 8 1262
孤独总比滥情好
孤独总比滥情好 2021-01-31 15:30

I am working on a Scala project that has been in existence for a few years but is new to me. My task is to upgrade it from Scala 2.9.3 to 2.11.7, along with its dependencies. I

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 15:53

    I too run into this problem recently and I discovered a working solution for it with sbt 1.3.13.

    1. create a .sbtopts file under project root
    2. add -J-Xss100M (or any thread stack size you think suitable) to the .sbtopts file

提交回复
热议问题