The Artima Developer Community
Sponsored Link

ScalaTest/ScalaUtils Forum
Using Scala 2.8.0 RC2

1 reply on 1 page. Most recent reply: May 13, 2010 6:49 AM by Bill Venners

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Sanjay Dasgupta

Posts: 1
Nickname: sdg
Registered: May, 2010

Using Scala 2.8.0 RC2 Posted: May 12, 2010 11:26 PM
Reply to this message Reply
Advertisement
Is ScalaTest usable with Scala-2.8.0 RC2?

I'm using the jar "http://www.scala-tools.org/repo-releases/org/scalatest/scalatest/1.0.1-for-sca la-2.8.0.Beta1-NQRFPT/scalatest-1.0.1-for-scala-2.8.0.Beta1-NQRFPT.jar", but attempting to run the "StackSpec" example on the ScalaTest home page produces the following error:

java.lang.NoSuchMethodError: scala.collection.immutable.MapLike.$plus$plus(Lscala/collection/Traversable;)Ls cala/collection/immutable/Map;
at org.scalatest.tools.Runner$.parsePropertiesArgsIntoMap(Runner.scala:1176)
at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:554)
at org.scalatest.tools.Runner$.main(Runner.scala:498)
at org.scalatest.tools.Runner.main(Runner.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at scala.tools.nsc.util.ScalaClassLoader$$anonfun$run$1.apply(ScalaClassLoader.sca la:81)
at scala.tools.nsc.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:24 )
at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.asContext(ScalaClassLoader .scala:86)
at scala.tools.nsc.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:81)
at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.run(ScalaClassLoader.scala :86)
at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:78)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)

Any help appreciated.


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: Using Scala 2.8.0 RC2 Posted: May 13, 2010 6:49 AM
Reply to this message Reply
Hi Sanjay,

> Is ScalaTest usable with Scala-2.8.0 RC2?
>
Yes. There's a snapshot build for Scala 2.8.0.RC2:

group id: org.scalatest
artifact id: scalatest
version: 1.2-for-scala-2.8.0.RC2-SNAPSHOT

http://www.scala-tools.org/repo-snapshots/org/scalatest/scalatest/1.2-for-scala-2.8.0.RC2-SNAPSHOT/

Bill

Flat View: This topic has 1 reply on 1 page
Topic: EasyMockSugar does not work with EasyMock3 Previous Topic   Next Topic Topic: Scalatest with Ant

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use