java.lang.RuntimeException: The incremental compiler requires absolute sources, but some were relative: ../common/src/main/scala/com/heluna/util/MailboxUtil.scala and 10 others


Samebug tips

Add guice to the dependencies.

libraryDependencies += guice

,
via playframework.com by Unknown author

Solutions on the web

Solution icon of github
via GitHub by brooksgarrett
, 9 months ago
The incremental compiler requires absolute sources, but some were relative: ../common/src/main/scala/com/heluna/util/MailboxUtil.scala and 10 others

Solution icon of github
via GitHub by xray1111
, 8 months ago
Some keys were defined with the same name but different types: 'javaCppPlatform' (java.lang.String, scala.collection.Seq[java.lang.String])

Solution icon of github
Some keys were defined with the same name but different types: 'compileOnly' (sbt.InputTask[Unit], Boolean)

Solution icon of github
Some keys were defined with the same name but different types: 'compileOnly' (Boolean, sbt.InputTask[Unit])

Solution icon of github
Some keys were defined with the same name but different types: 'launcher' (sbt.Task[sbt.Attributed[scala.scalajs.tools.io.VirtualJSFile]], sbt.Task[scala.collection.Seq[java.lang.String]])

Solution icon of github
Some keys were defined with the same name but different types: 'launcher' (sbt.Task[sbt.Attributed[scala.scalajs.tools.io.VirtualJSFile]], sbt.Task[scala.collection.Seq[java.lang.String]])

Solution icon of github
Could not fetch scala-library sources for version 2.11.8

Solution icon of github
Could not fetch scala-library sources for version 2.11.11

Solution icon of googlegroups
via Google Groups by Iulian Dragos, 1 year ago
Test suite finished with 1 case failing: /localhome/hudson/workspace/scala-nightly-main-2.9.x/test/files/neg/t3399.scala [TIMOUT]

Solution icon of stackoverflow
[3.46] failure: ``)'' expected but identifier src found where not exists (select src from edges where src = e.dst) ^

Stack trace

java.lang.RuntimeException: The incremental compiler requires absolute sources, but some were relative: ../common/src/main/scala/com/heluna/util/MailboxUtil.scala and 10 others
	at scala.sys.package$.error(package.scala:27)
	at sbt.inc.IncrementalCommon.checkAbsolute(Incremental.scala:287)
	at sbt.inc.IncrementalCommon.invalidateInitial(Incremental.scala:263)
	at sbt.inc.Incremental$.compile(Incremental.scala:35)
	at sbt.inc.IncrementalCompile$.apply(Compile.scala:27)
	at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:157)
	at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:71)
	at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:46)
	at sbt.Compiler$.apply(Compiler.scala:75)
	at sbt.Compiler$.apply(Compiler.scala:66)
	at sbt.Defaults$.sbt$Defaults$$compileTaskImpl(Defaults.scala:743)
	at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:735)
	at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:735)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
	at sbt.std.Transform$$anon$4.work(System.scala:64)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
	at sbt.Execute.work(Execute.scala:244)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 2 months ago
2 times, 2 months ago
4 times, 2 months ago
Once, 3 months ago
Once, 3 months ago
92 more bugmates