Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Typesafe Activator compilation error

I'm using Typesafe Activator on Ubuntu 13.04. It was working, but when I create a new project sometimes it doesn't do anything and sometimes it reports that the template is cloned (without downloading anything). When the project is created I get the following compile error:

Refreshing list of source files to watch for changes...

Loading project definition from /home/myusername/activator-play-autosource-reactivemongo/project

Set current project to activator-play-autosource-reactivemongo (in build file:/home/myusername/activator-play-autosource-reactivemongo/)

Applying State transformations com.typesafe.sbtrc.SetupSbtChild from """/home/myusername/.sbt/boot/scala-2.9.2/com.typesafe.sbtrc/sbt-rc-probe-0-12/1.0-28edcfb4984c8be5e556bad192b62551504aa23d/sbt-rc-props-1.0-28edcfb4984c8be5e556bad192b62551504aa23d.jar:/home/myusername/.sbt/boot/scala-2.9.2/com.typesafe.sbtrc/sbt-rc-probe-0-12/1.0-28edcfb4984c8be5e556bad192b62551504aa23d/sbt-rc-probe-0-12-1.0-28edcfb4984c8be5e556bad192b62551504aa23d.jar"""

java.lang.ClassNotFoundException: com.typesafe.sbtrc.SetupSbtChild$

Use 'last' for the full log.

Failed to reload source file list: sbt process never got in touch, so unable to handle request WatchTransitiveSourcesRequest(true)

like image 220
Amir Karimi Avatar asked Oct 04 '13 16:10

Amir Karimi


1 Answers

In project/build.properties change the sbt.version from 0.12.3 to 0.13.0 (or 0.12.4 alternatively).

I just had the same issue, for me this fixed it.

like image 174
MartinGrotzke Avatar answered Oct 22 '22 14:10

MartinGrotzke