Btw, that error has nothing to do with Scala itself. This is Java compilation error.
CC'ing the rest of the list for this:
In recent Intellij versions, the moment it needs to compile Scala classes, it switches
even Java compilation to use Scala SBT to compile Java classes too. For more detailed
info, see
http://blog.jetbrains.com/scala/2012/12/28/a-new-way-to-compile/
"It’s worth noting, that there is a one side-effect of using SBT compiler, resulting
in how Java files are handled in Scala projects (ones with a least one Scala facet).
Because we need to maintain a coherent model of dependencies, compilation of all Java
files, event in “pure” Java modules, is routed through SBT. For most use cases that is
perfectly OK, unless you need to use a non-standard Java compiler (by the way, SBT
supports in-process Java compiler as well)."
Cheers,
On Sep 3, 2013, at 2:40 PM, Galder Zamarreño <galder(a)redhat.com> wrote:
"Error:scala: An exception has occurred in the compiler
(1.6.0_33). Please file a bug at the Java Developer Connection
(
http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates.
Include your program and the following diagnostic in your report. Thank you."
^ Shouldn't you be building with JDK7 in the IDE too? There's a reference to
1.6.0_33 there...
On Sep 3, 2013, at 12:05 PM, Mircea Markus <mircea.markus(a)gmail.com> wrote:
> Intellij version: 12.1.4
> Scala plugin version: 0.16.293 (latest on the intellij website; I tried to install
0.18.39 from
http://plugins.jetbrains.com/plugin/?idea&id=1347 but it is
incompatible)
>
> Thanks!
>
> <compilation error.txt>
>
> <PastedGraphic-1.png>
>
> <PastedGraphic-2.png>
>
> <PastedGraphic-3.png>
>
> <PastedGraphic-4.png>
--
Galder Zamarreño
galder(a)redhat.com
twitter.com/galderz
Project Lead, Escalante
http://escalante.io
Engineer, Infinispan
http://infinispan.org
--
Galder Zamarreño
galder(a)redhat.com
twitter.com/galderz
Project Lead, Escalante
http://escalante.io
Engineer, Infinispan
http://infinispan.org