I am new to Java/Play framework/sbt and I encounter an error when running this tutorial:
MacOS Mojave 10.14.6
IntelliJ Idea community edition 2020.3.2
default sbt version 0.13.18
no modification, just downloaded and unzipped here
- It does not resolve view from app/views/
java: cannot find symbol
symbol: variable index
location: class controllers.HomeController
- when I try to run ‘sbt clean’ there’s error in build.sbt
[error] [play-samples-play-java-starter-example/build.sbt]:14: illegal start of simple expression
[error] [play-samples-play-java-starter-example/build.sbt]:24: ‘)’ expected but eof found.
I tried searching on stackoverflow and it seem like a sbt version issue, but I am not sure since ‘sbt sbt-version’ cannot work in project folder. Please help.