Error in Scala compiler: class scala.annotation.implicitNotFound not found
I get the following error when building my Scala project:
But navigation and such seems to work, it just shows as an error on the project in the Problems view (and in the Error Log).
scala.tools.nsc.MissingRequirementError: class scala.annotation.implicitNotFound not found.
at scala.tools.nsc.symtab.Definitions$definitions$.getModuleOrClass(Definitions.scala:517)
at scala.tools.nsc.symtab.Definitions$definitions$.getClass(Definitions.scala:475)
at scala.tools.nsc.symtab.Definitions$definitions$.ImplicitNotFoundClass(Definitions.scala:123)
at scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.scala$tools$nsc$typechecker$RefChecks$RefCheckTransformer$$applyRefchecksToAnnotations(RefChecks.scala:1098)
at scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:1221)
at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:870)
at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply(Global.scala:282)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply(Global.scala:282)
at scala.tools.nsc.reporters.Reporter.withSource(Reporter.scala:48)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:282)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:256)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:256)
at scala.collection.Iterator$class.foreach(Iterator.scala:631)
at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:304)
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:256)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:741)
at scala.tools.nsc.Global$Run.compileFiles(Global.scala:811)
at scala.tools.nsc.interactive.RefinedBuildManager.update0$1(RefinedBuildManager.scala:123)
at scala.tools.nsc.interactive.RefinedBuildManager.update(RefinedBuildManager.scala:182)
at scala.tools.nsc.interactive.RefinedBuildManager.update(RefinedBuildManager.scala:92)
at scala.tools.eclipse.EclipseBuildManager.build(EclipseBuildManager.scala:120)
at scala.tools.eclipse.ScalaProject.build(ScalaProject.scala:419)
at scala.tools.eclipse.ScalaBuilder.build(ScalaBuilder.scala:87)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
But navigation and such seems to work, it just shows as an error on the project in the Problems view (and in the Error Log).
Leave a comment
on 2010-11-28 17:39 *
By Mirko Stocker
Is the project you're compiling using Scala 2.8.0? Then it could be the problem described here: http://permalink.gmane.org/gmane.comp.lang.scala/21571
Updating tickets (#1000199, #1000200, #1000201, #1000204, #1000205, #1000209, #1000210, #1000211, #1000212, #1000215, #1000217, #1000218, #1000220, #1000222, #1000226, #1000227, #1000228, #1000230, #1000231, #1000232, #1000233, #1000235, #1000236, #1000237, #1000239, #1000240, #1000241, #1000242, #1000243, #1000244, #1000248, #1000249, #1000252, #1000253, #1000254, #1000255, #1000256, #1000258, #1000259, #1000032, #1000059, #1000062, #1000163, #1000197, #1000216, #1000221, #1000224, #1000121, #1000175, #1000219, #1000251, #1000069, #1000195, #1000213, #1000223, #1000006, #1000021, #1000038, #1000048, #1000051, #1000052, #1000075, #1000103, #1000109, #1000115, #1000119, #1000156, #1000186, #1000207, #1000238, #1000262, #1000263, #380, #389, #683, #1238, #1331, #1635, #1645, #1715, #1729, #1744, #1783, #1839, #1869, #1885, #1890, #1902, #1918, #1919, #1924, #1925, #1946, #1964, #1991, #2131, #2233, #2342, #2348, #2408)
Likely due to using a different version of the Scala library.
No update from reporter.
No reproducible test case is available.
Closing this ticket as it cannot be used to improve Scala IDE anymore.
Please reopen with additional information if you still see the problem.
No update from reporter.
No reproducible test case is available.
Closing this ticket as it cannot be used to improve Scala IDE anymore.
Please reopen with additional information if you still see the problem.