problem with community edition running play 2.1RC1

Hi
I'm updating my play project to 2.1
In play itself it compiles mostly with errors. But if I do project build from intellij I get this

scala: Error: scala/reflect/internal/Trees
java.lang.NoClassDefFoundError: scala/reflect/internal/Trees
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
 at java.lang.Class.getMethod0(Class.java:2685)
 at java.lang.Class.getMethod(Class.java:1620)
 at sbt.compiler.RawCompiler.apply(RawCompiler.scala:25)
 at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$apply$2.apply(AnalyzingCompiler.scala:119)
 at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$apply$2.apply(AnalyzingCompiler.scala:114)
 at sbt.IO$.withTemporaryDirectory(IO.scala:281)
 at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1.apply(AnalyzingCompiler.scala:114)
 at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1.apply(AnalyzingCompiler.scala:111)
 at sbt.IO$.withTemporaryDirectory(IO.scala:281)
 at sbt.compiler.AnalyzingCompiler$.compileSources(AnalyzingCompiler.scala:111)
 at sbt.compiler.IC$.compileInterfaceJar(IncrementalCompiler.scala:31)
 at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl$.org$jetbrains$jps$incremental$scala$local$CompilerFactoryImpl$$getOrCompileInterfaceJar(CompilerFactoryImpl.scala:65)
 at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl$$anonfun$2.apply(CompilerFactoryImpl.scala:21)
 at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl$$anonfun$2.apply(CompilerFactoryImpl.scala:20)
 at scala.Option.map(Option.scala:145)
 at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.createCompiler(CompilerFactoryImpl.scala:20)
 at org.jetbrains.jps.incremental.scala.local.CachingFactory$$anonfun$createCompiler$1.apply(CachingFactory.scala:20)
 at org.jetbrains.jps.incremental.scala.local.CachingFactory$$anonfun$createCompiler$1.apply(CachingFactory.scala:20)
 at org.jetbrains.jps.incremental.scala.local.Cache$$anonfun$getOrUpdate$2.apply(Cache.scala:20)
 at scala.Option.getOrElse(Option.scala:120)
 at org.jetbrains.jps.incremental.scala.local.Cache.getOrUpdate(Cache.scala:19)
 at org.jetbrains.jps.incremental.scala.local.CachingFactory.createCompiler(CachingFactory.scala:19)
 at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:19)
 at org.jetbrains.jps.incremental.scala.remote.Main$.main(Main.scala:24)
 at org.jetbrains.jps.incremental.scala.remote.Main.main(Main.scala)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at com.martiansoftware.nailgun.NGSession.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: scala.reflect.internal.Trees
 at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 ... 54 more


My intellij project was generated from play with the $idea command.
I deleted the .idea and .idea_modules and regenerated but no difference.

Play wants to use 2.10RC1

Please sign in to leave a comment.