ubuntu - Future is not a member of scala.concurrent -


i'm getting error future not member of scala.concurrent when importing future class.

~/workspace/experiments $ scala welcome scala version 2.9.2 (openjdk 64-bit server vm, java 1.7.0_151). type in expressions have them evaluated. type :help more information.  scala> import scala.concurrent.future <console>:7: error: future not member of scala.concurrent        import scala.concurrent.future               ^  scala> 

i'm running on unbuntu 14.04:

~/workspace/experiments $ cat /etc/lsb-release                                                  distrib_id=ubuntu distrib_release=14.04 distrib_codename=trusty distrib_description="ubuntu 14.04.5 lts" 

does 1 know i'm doing wrong?

upgrading scala version should resolve it. doesn't appear future member of scala.concurrent in scala 2.9.2 see http://www.scala-lang.org/api/2.9.2/#scala.concurrent.package

vs. http://www.scala-lang.org/api/2.11.8/#scala.concurrent.package


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -