cannot compile scala test with intellij 14.1 -


the project uses scala 2.9

my scalatest dependency is:

    <dependency>         <groupid>org.scalatest</groupid>         <artifactid>scalatest_2.9.2</artifactid>     </dependency>   error:scalac: error: org.jetbrains.jps.incremental.scala.remote.serverexception error compiling sbt component 'compiler-interface-2.9.2-50.0'     @ sbt.compiler.analyzingcompiler$$anonfun$compilesources$1$$anonfun$apply$2.apply(analyzingcompiler.scala:145)     @ sbt.compiler.analyzingcompiler$$anonfun$compilesources$1$$anonfun$apply$2.apply(analyzingcompiler.scala:142)     @ sbt.io$.withtemporarydirectory(io.scala:285)     @ sbt.compiler.analyzingcompiler$$anonfun$compilesources$1.apply(analyzingcompiler.scala:142)     @ sbt.compiler.analyzingcompiler$$anonfun$compilesources$1.apply(analyzingcompiler.scala:139)     @ sbt.io$.withtemporarydirectory(io.scala:285)     @ sbt.compiler.analyzingcompiler$.compilesources(analyzingcompiler.scala:139)     @ sbt.compiler.ic$.compileinterfacejar(incrementalcompiler.scala:33)     @ org.jetbrains.jps.incremental.scala.local.compilerfactoryimpl$.org$jetbrains$jps$incremental$scala$local$compilerfactoryimpl$$getorcompileinterfacejar(compilerfactoryimpl.scala:87)     @ org.jetbrains.jps.incremental.scala.local.compilerfactoryimpl$$anonfun$getscalac$1.apply(compilerfactoryimpl.scala:44)     @ org.jetbrains.jps.incremental.scala.local.compilerfactoryimpl$$anonfun$getscalac$1.apply(compilerfactoryimpl.scala:43)     @ scala.option.map(option.scala:145)     @ org.jetbrains.jps.incremental.scala.local.compilerfactoryimpl.getscalac(compilerfactoryimpl.scala:43)     @ org.jetbrains.jps.incremental.scala.local.compilerfactoryimpl.createcompiler(compilerfactoryimpl.scala:22)     @ org.jetbrains.jps.incremental.scala.local.cachingfactory$$anonfun$createcompiler$1.apply(cachingfactory.scala:24)     @ org.jetbrains.jps.incremental.scala.local.cachingfactory$$anonfun$createcompiler$1.apply(cachingfactory.scala:24)     @ org.jetbrains.jps.incremental.scala.local.cache$$anonfun$getorupdate$2.apply(cache.scala:20)     @ scala.option.getorelse(option.scala:120)     @ org.jetbrains.jps.incremental.scala.local.cache.getorupdate(cache.scala:19)     @ org.jetbrains.jps.incremental.scala.local.cachingfactory.createcompiler(cachingfactory.scala:23)     @ org.jetbrains.jps.incremental.scala.local.localserver.compile(localserver.scala:22)     @ org.jetbrains.jps.incremental.scala.remote.main$.make(main.scala:62)     @ org.jetbrains.jps.incremental.scala.remote.main$.nailmain(main.scala:20)     @ org.jetbrains.jps.incremental.scala.remote.main.nailmain(main.scala)     @ sun.reflect.generatedmethodaccessor3.invoke(unknown source)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:483)     @ com.martiansoftware.nailgun.ngsession.run(ngsession.java:319) 

i think dependency incomplete , misses library version. easiest look on maven central:

<dependency>     <groupid>org.scalatest</groupid>     <artifactid>scalatest_2.9.2</artifactid>     <version>1.9.2</version> <!-- here --> </dependency> 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -