Error trying to run test

Everything worked splendidly under 11.1. Fails under the 12 EAP with
this compile error:

Information:Compilation completed with 18 errors and 0 warnings in 1 min
15 sec
Information:18 errors
Information:0 warnings
Error: scala.tools.nsc.MissingRequirementError: object scala not found.
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.getModuleOrClass(Definitions.scala:655)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.getModule(Definitions.scala:605)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackage(Definitions.scala:145)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackageClass(Definitions.scala:146)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.AnyClass(Definitions.scala:176)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:814)
Error:at scala.tools.nsc.Global$Run.(Global.scala:697)
Error:at scala.tools.nsc.Main$.process(Main.scala:105)
Error:at scala.tools.nsc.Main$.main(Main.scala:123)
Error:at scala.tools.nsc.Main.main(Main.scala)
Error:at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error:at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Error:at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Error:at java.lang.reflect.Method.invoke(Method.java:597)
Error:at
org.jetbrains.plugins.scala.compiler.rt.ClassRunner.main(ClassRunner.java:46)
Error:
Error: fatal error: object scala not found.

5 comments
Comment actions Permalink

Just tried to build an artifact and that failed too. (using 06.31)

0
Comment actions Permalink

Do all Scala modules have proper Scala standard library (scala-library.jar) in its dependencies (Project Structure)?

0
Comment actions Permalink

Yes. It's the exact same project. Under Nika (117.721 + plugin v
0.5.870) it works fine. Under Lea (120.11 + plugin v 0.6.31) it does not.

On 7/11/12 5:12 PM, Pavel Fatin wrote:

Do all Scala modules have proper Scala standard library (scala-library.jar) in its dependencies (Project Structure)?


0
Comment actions Permalink

Donald,
Have you been able to resolve this?
I'm seeing similar behavior in the most recent release of IDEA 12....

0
Comment actions Permalink

No, 123.72 has been working flawlessly for me.

Donald

On 12/18/12 12:54 AM, Christian Posta wrote:

Donald,
Have you been able to resolve this?
I'm seeing similar behavior in the most recent release of IDEA 12....


0

Please sign in to leave a comment.