IntelliJ IDEA 13: new Scala SBT project hasn't src directory structure generated

后端 未结 4 2080
走了就别回头了
走了就别回头了 2021-02-03 23:06

I followed the getting start video on Jetbrains website to setup IntelliJ IDEA 13.1 Community Edition to work with Scala. Scala plugin v0.36.431 had been installed. While I crea

4条回答
  •  一整个雨季
    2021-02-03 23:13

    I followed the instructions in this thread but I had a java crash in the final phase in sbt with the configuration bellow and I think this info maybe useful:

    The problem happened with IDEA 2016.2, sbt 0.13.8 (I tried later to import using 0.13.12 but the crash was the same), scala 2.11.8 and ubuntu 16.04.

    The only way I could make it work was to use java 8 instead of 9.

    error: error while loading package, Missing dependency 'object java.lang.Object in compiler mirror', required by /home/jbamaral/.sbt/boot   at xsbt.boot.Boot.main(Boot.scala)
    ... 
    stack log here
    ...
    [error] scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.
    

提交回复
热议问题