« Return to Thread: main method in file with class and object?

Re: main method in file with class and object?

by Arrgh :: Rate this Message:

Reply to Author | View in Thread

On 16-Jan-08, at 8:05 PM, John Tyler wrote:
I then compiled with "scalac MyApp.scala", but when I run with "scala MyApp" from the same directory I get:
java.lang.NoSuchMethodException: MyApp.main([Ljava.lang.String ;)

http://lampsvn.epfl.ch/trac/scala/ticket/363

:)

-0xe1a

 « Return to Thread: main method in file with class and object?