2017-09-23 2 views
2

私はちょうどエラーの下になってプロジェクトを作成した後、IJ(intelliJIDEA 2017年2月4日版) をインストールしましたが、一方で、スカラ座に新しいです:スカラ、SBTエラー

enter code here 
    SBT 'Gettingstarted' project refresh failed 
    Error:Error:Error while importing SBT project:<br/>...<br/><pre>at 
    sbt.MainLoop$.runWithNewLog(MainLoop.scala:63) at 
    sbt.MainLoop$.runAndClearLast(MainLoop.scala:46) at 
    sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30) at 
    sbt.MainLoop$.runLogged(MainLoop.scala:22) at 
    sbt.StandardMain$.runManaged(Main.scala:109) at 
    sbt.xMain.run(Main.scala:38) 
    at 
xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109) at 
xsbt.boot.Launch$.withContextLoader(Launch.scala:128) at 
xsbt.boot.Launch$.run(Launch.scala:109) at 
xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35) at 
xsbt.boot.Launch$.launch(Launch.scala:117) at 
xsbt.boot.Launch$.apply(Launch.scala:18) at 
xsbt.boot.Boot$.runImpl(Boot.scala:41) at 
xsbt.boot.Boot$.main(Boot.scala:17) 
at 
xsbt.boot.Boot.main(Boot.scala) [error] 
scala.reflect.internal.MissingRequirementError: object java.lang.Object in 
compiler mirror not found. [error] Use 'last' for the full log. > > error: 
error 
while loading package, Missing dependency 'object java.lang.Object in 
compiler 
mirror', required by C:\Users\Dell\.sbt\boot\scala-2.10.6\lib\scala- 
library.jar(scala/runtime/package.class)</pre><br/>See complete log in <a 

href="file:/C:/Users/Dell/.IdeaIC2017.2/system/log/sbt.last.log"> 
file:/C:/Use/ 
Dell/.IdeaIC2017.2/system/log/sbt.last.log</a> 

誰も私を助けてもらえますか?

  • Javaバージョン9
  • SBT:1.0.2
  • スカラ:2.11.11

誰もが私が何をすべき提案してもらえますか?

+0

そのスタックトレースをすべて1行に書かないようにフォーマットできますか? –

+0

Scala [サポートしません](https://github.com/scala/scala-dev/issues/139) )JDK 9. build.sbtを表示します。 –

+0

以下:name:= "New" バージョン:= "0.1" scalaVersion:= "2.11.11" 赤で! –

答えて

1

現在、JAVA 9はScala/Playフレームワークで完全にサポートされていません。それで良いバージョンに固執する​​

関連する問題