LoginSignup
2
1

More than 5 years have passed since last update.

Intellijでsbtファイルが真っ赤になったとき

Posted at

IntellijでScala-Play2.xプロジェクト作ったときに怒られたのでメモ。
Scalaを始めようとしたらsbtファイルの行がほとんど真っ赤に。

以下のやり方で解決できたので忘れないようにメモ。

1) [File - Project Structure...]を選択。
image.png

2) [Languages & Frameworks - Play2]を選択して[Compiler]タブの[Use Play 2 compiler for this project]にチェックを入れます。
image.png

Scala始めたばっかりなのに、最初でつまずくとやる気が。
最初のうちだと思って頑張ろう。。

これで解決しなかったら以下のキャッシュ設定もやってみると良いかな。
[File - Invalidate Caches / Restart...]を選択。
image.png

[Invalidate and Restart]ボタンを押下すると、Intellijが再起動されます。
image.png

これでも解決しなかったら。。ぐぐろう。。

2
1
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
2
1