Trying to cross compile a project to Scala 2.11 fails with “error while loading Object, Missing dependency 'object scala in compiler mirror'”

前端 未结 5 1926
余生分开走
余生分开走 2020-12-11 00:41

I\'m trying to compile my project to Scala 2.10 and 2.11 so that I can release versions for both scala versions, but every time I try to do it it fails with the following me

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-11 01:32

    This problem was solved for me when using intellij, by closing the project and reimporting it, and selecting sbt as the build system in settings.

    Why oh why did I choose SBT?? Now I'm stuck with a very brittle build system. Thank God that atleast intellij does it right.

    sbt version: 0.13.15

    scala version: 2.12.1

提交回复
热议问题