Adam,

I use Apache Commons Launcher for most of my Java console applications. And now 
that you asked I cleaned up unnecessary JAR files from the lib dir and I found 
an sbt-launch-0.73 JAR. Since sbt uses Scala 2.7.7 I guess some library classes 
where bundled with it and they came first in the classpath. Thus the confusion.

Turns out it had nothing to do with Gradle...

But thanks for asking and bringing this to light :)

Torsten.



Am 22.06.2010 um 07:36 schrieb Adam Murdoch:

> On 20/06/10 4:20 PM, AGYNAMIX Torsten Uhlmann wrote:
>> 
>> I have set up a parallel Gradle / sbt build for my Scala project.
>> 
>> While Gradle will build my application without errors I get the following 
>> stacktrace when trying to run it:
>> 
>> Caused by: java.lang.IncompatibleClassChangeError: Class 
>> scala.collection.mutable.ListBuffer does not implement the requested 
>> interface scala.collection.mutable.Builder
>>  at scala.collection.TraversableLike$class.filter(TraversableLike.scala:241)
>>  at scala.collection.immutable.List.filter(List.scala:45)
>>  at 
>> scala.collection.TraversableLike$class.filterNot(TraversableLike.scala:250)
>>  at scala.collection.immutable.List.filterNot(List.scala:45)
>>  at 
>> com.agynamix.scala.mi.SynchronizeFolderTree$.main(SynchronizeFolderTree.scala:28)
>>  at 
>> com.agynamix.scala.mi.SynchronizeFolderTree.main(SynchronizeFolderTree.scala)
>> 
> 
> How are you running the application?
> 
> 
> -- 
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
> CTO, Gradle Inc. - Gradle Training, Support, Consulting
> http://www.gradle.biz

Mit freundlichen Grüßen,
Kind Regards,

Torsten Uhlmann

-- 
Torsten Uhlmann
AGYNAMIX(R). Passionate Software.
Inh. Torsten Uhlmann
Buchenweg 5, 09380 Thalheim
Phone:       +49 3721 273445
Fax:             +49 3721 273446
Mobile:       +49 151 12412427
Web:           http://www.agynamix.de
Skype:        torsten.uhlmann
Xing:           https://www.xing.com/profile/Torsten_Uhlmann2
LinkedIn:    http://www.linkedin.com/in/torstenuhlmann
Facebook, Twitter: agynamix

Reply via email to