Regression: error "macro annotation could not be expanded"

I upgraded my project with the new Scala plugin 1.0.246. Some projects work fine, but some will not compile any more.I have classes with annotations:

class ControlPanelView(private val selectDeviceButton: Button,

They are handled by scalafxml macros. I am getting error:

Error:(17, 7) macro annotation could not be expanded (the most common reason for that is that you need to enable the macro paradise plugin; another possibility is that you try to use macro annotation in the same compilation run that defines it)
class ControlPanelView(private val selectDeviceButton: Button,

I do have

addCompilerPlugin("org.scalamacros" % "paradise" % "2.0.1" cross CrossVersion.full)

in my build.sbt. This did not happen before (with Scala plugin that used facets), and it is not happening in when I build from terminal command prompt using SBT. Actually the only way for me to work now is to edit in IDEA but run from command prompt.

Any ideas what may be going on?



Please sign in to leave a comment.