cannot compile a scala module

I get a crash as copied below. I work with plugin version 432 (idea 9.0) with scala 2.8.0-SNAPSHOT and have added the scala-compiler jar to the external libraries dependencies. the module i'm trying to compile is very simple. "compile scala files first" is checked.

Thank you,
Ittay




2010-01-05 15:28:06,592 [3431307]  DEBUG - la.compiler.ScalacOutputParser - Scalac internal error: class java.lang.ClassNotFoundException [java.net.URLClassLoader$1.run(URLClassLoader.java:200), java.security.AccessController.doPrivileged(Native Method), java.net.URLClassLoader.findClass(URLClassLoader.java:188), java.lang.ClassLoader.loadClass(ClassLoader.java:307), sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301), java.lang.ClassLoader.loadClass(ClassLoader.java:252), java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320), java.lang.Class.forName0(Native Method), java.lang.Class.forName(Class.java:169), org.jetbrains.plugins.scala.compiler.rt.ScalacRunner.main(ScalacRunner.java:72)]
2010-01-05 15:28:06,592 [3431307]  DEBUG - la.compiler.ScalacOutputParser - Scalac internal error: class java.lang.ClassNotFoundException [java.net.URLClassLoader$1.run(URLClassLoader.java:200), java.security.AccessController.doPrivileged(Native Method), java.net.URLClassLoader.findClass(URLClassLoader.java:188), java.lang.ClassLoader.loadClass(ClassLoader.java:307), sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301), java.lang.ClassLoader.loadClass(ClassLoader.java:252), java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320), java.lang.Class.forName0(Native Method), java.lang.Class.forName(Class.java:169), org.jetbrains.plugins.scala.compiler.rt.ScalacRunner.main(ScalacRunner.java:72)]
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.net.URLClassLoader$1.run(URLClassLoader.java:200)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.net.URLClassLoader$1.run(URLClassLoader.java:200)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.security.AccessController.doPrivileged(Native Method)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.security.AccessController.doPrivileged(Native Method)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.net.URLClassLoader.findClass(URLClassLoader.java:188)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.net.URLClassLoader.findClass(URLClassLoader.java:188)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.lang.ClassLoader.loadClass(ClassLoader.java:307)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.lang.ClassLoader.loadClass(ClassLoader.java:307)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.lang.ClassLoader.loadClass(ClassLoader.java:252)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.lang.ClassLoader.loadClass(ClassLoader.java:252)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.lang.Class.forName0(Native Method)
2010-01-05 15:28:06,593 [3431308]  DEBUG - la.compiler.ScalacOutputParser - java.lang.Class.forName0(Native Method)
2010-01-05 15:28:06,594 [3431309]  DEBUG - la.compiler.ScalacOutputParser - java.lang.Class.forName(Class.java:169)
2010-01-05 15:28:06,594 [3431309]  DEBUG - la.compiler.ScalacOutputParser - java.lang.Class.forName(Class.java:169)
2010-01-05 15:28:06,594 [3431309]  DEBUG - la.compiler.ScalacOutputParser - org.jetbrains.plugins.scala.compiler.rt.ScalacRunner.main(ScalacRunner.java:72)
2010-01-05 15:28:06,594 [3431309]  DEBUG - la.compiler.ScalacOutputParser - org.jetbrains.plugins.scala.compiler.rt.ScalacRunner.main(ScalacRunner.java:72)
2010-01-05 15:28:06,668 [3431383]  DEBUG - la.compiler.ScalacOutputParser -  
2010-01-05 15:28:06,668 [3431383]  DEBUG - la.compiler.ScalacOutputParser -

1 comment
Comment actions Permalink

compiling the plugin from source with the latest scala dist solved the issue

0

Please sign in to leave a comment.