Getting compilation error with Scala plugin in Intellij Idea


I have added Scala plugin in Intellij IDEA, but getting below error when I compile any Java class,

Please anyone let me know how to solve this , I am stuck here. Thanks in advance.

java.lang.NoClassDefFoundError: org/jetbrains/plugins/scala/compiler/rt/ClassRunnerCaused by: java.lang.ClassNotFoundException: org.jetbrains.plugins.scala.compiler.rt.ClassRunner


at Method)


at java.lang.ClassLoader.loadClass(

at sun.misc.Launcher$AppClassLoader.loadClass(

at java.lang.ClassLoader.loadClass(

Could not find the main class: org.jetbrains.plugins.scala.compiler.rt.ClassRunner.  Program will exit.

Exception in thread "main"

Please sign in to leave a comment.