When I run a worksheet in IntelliJ Idea 12 (sbt plugin, Scala project), I've got an error of:
> Failed to initialize compiler: class scala.reflect.BeanInfo not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
Everything what has to be set up, is setup: sbt, dependencies, etc, that is if run this project using sbt command line (compile, run), it will run successfully.
Of course, I ran sbt gen-idea
.
What do I do?