'Cannot find symbol' in IntelliJ 14
I have been using IntelliJ Scala plugin before, in 13 and 13.1. I updated to 14 and it no longer works for my SBT project.
For all standard Scala files I see errors like "Can't find scala.Option symbol".
in a Scala project, compiler error - can't resolve character list? says I need a Scala facet for my module. I was looking at the edge and Scala was not an option.
I uninstalled IntelliJ and Scala plugin, my settings and project files several times, but it still happens.
How to fix it?
source to share
I had a similar problem where a Java module calls a Scala object. The problem was related to a misconfiguration in Source Folders; the Scala source was at src / main / scala / ... but the Project Structure
source folders were set as src
default. When I changed it like src/main/scala
, the Java module can find the Scala object correctly.
source to share