Hi.

I use Gradle for my projects quite a while and always compiled my Scala
sources with it using the default compileScala task.
My compiled program works OK until a subclass of Actor is used where I then
get a NoSuchMethodError exception:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:
scala.actors.ReactorCanReply$class.$init$(Lscala/actors/ReactorCanReply;)V 
        at de.mabe.taillogger.TailLogger$Tailor.<init>(TailLogger.scala:40) 
        at de.mabe.taillogger.TailLogger.createTailor(TailLogger.scala:33) 
        at de.mabe.taillogger.TailLogger.startTailor(TailLogger.scala:25) 
        at
de.mabe.xea.ui.frame.TailLoggerFrame.startLogUpdating(TailLoggerFrame.scala:42) 
        ... 

With some testing I found out that the same sources with same runtime
classpath work fine when compiled in IDEA and when overwriting the
compileScala task and using the Scala Ant task.
Scala compile libs are the same in all cases.
Now my only conclusion would be that it is some difference in how the
sources are built, compiler options maybe?

Any ideas?


Manfred
-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/Weird-issue-with-compileScala-NoSuchMethodError-tp2293421p2293421.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to