Scala projects stop working on IntelliJ


#1

My Scala projects which were working fine recently, now give me issue when I try to run a program:

Error:Module ‘XXX’ production: sbt.compiler.CompileFailed

What is missing here?

SO link:


#2

Is that really your SBT module name or are you redacting for posting?

Try quitting IntelliJ; deleting the .idea folder in one of your problem
projects and reimporting that project as a project that tracks SBT. See if
that helps.


#3

Thanks. Reimporting worked.


#4

Excellent! Glad it helped.