LoginSignup
10
10

More than 5 years have passed since last update.

IntelliJでScala実行時にコンパイラが見つからない

Posted at

Scalaのプロジェクトを作成してビルドしたときに、以下のようにコンパイラが見つからないと言われた。

Please, specify compiler library in Scala facet.

以前まで正常に指定できており何でこういう状況になったかは分からないが、
File -> Project Structure -> Facetsを確認すると確かにCompilerがnoneになっている。

これの指定方法がちょっとはまったので以下に対応方法をメモ。

  1. File -> Project Structure -> FacetsのScalaを右クリックして一度Delete. ダイアログを閉じる。
  2. Projecビューからモジュールを右クリック->Add Framework Support画面からScalaを追加。このときコンパイラのパスを指定

参考 Scala Compiler not found in Intellij IDEA 11 with Play 2.0 project

10
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
10