Errors trying run SceneGraphSimple

0 views
Skip to first unread message

Édson

unread,
Jun 6, 2008, 9:16:50 AM6/6/08
to scala-squib
I'm a Java developer migrating to Scala.

I'm trying compile and run SceneGraphSimple, but I get two error:
1 - SceneGraphSimple is already defined as object SceneGraphSimple;

2 - overloaded method value create with alternatives [T]
(Long,Float,Any,java.lang.String,T*)com.sun.scenario.animation.Clip
<and>
[T]
(Long,Float,com.sun.scenario.animation.Property[T],T*)com.sun.scenario.an
imation.Clip <and> [T]
(Long,Any,java.lang.String,T*)com.sun.scenario.animation.Clip <and>
[T]
(Long,com.sun.scenario.animation.Property[T],T*)com.sun.scenario.animati
on.Clip cannot be applied to
...

I'm using Java 6.0, Scala 2.7.1, Eclipse 3.3.1.1

Could you help me ?

Thanks a lot in advance.

Adek336

unread,
Jun 17, 2008, 6:55:09 PM6/17/08
to scala-squib
as for 1), are you using fsc? fsc -shutdown may sometimes help on a
"already-defined" error.
as for 2), does the code work in scala 2.6.1 ?
Reply all
Reply to author
Forward
0 new messages