From your screenshot it looks like you were using: class hello { def main(a: ArrayString) = println("got args: " + a) } The main method has to be on an object to support a main method Capitalizing the object / class name is the convention but it isn't enforced.
From your screenshot it looks like you were using: class hello { def main(a: ArrayString) = println("got args: " + a) } The main method has to be on an object to support a main method. Capitalizing the object / class name is the convention but it isn't enforced.
This was the closest answer... Changing to object and removing the "=" fixes the immediate problem (I can get past that configuration dialog now, although the program fails to actually run). You may want to edit your answer to reflect that. Thanks – Alex R Apr 20 '10 at 0:57 I just tried a test project, as above, and had very similar issues.
I've created 50+ little scala projects with the only issue being changing the compiler and library jars defaults (from the plugin) to those from the scala distro of choice. However I am seeing the same problem creating a run config, I can compile but the run config dialog fails to find the the workaround is not to use the chooser and type "" in the Main class field. There is still a warning about "Main method not found in class " but the run config will work.
Contact support, they are very responsive. – Don Mackenzie Apr 20 '10 at 9:47.
It may be a bug in the plugin. If you define you object as (capitalized) then it works, at least on my machine.
I tried that, but it doesn't solve the problem. – Alex R Apr 19 '10 at 13:19.
Is your file called hello. Scala? (I can't see that it has the .
Scala extension in your screenshot) - it must be a . Scala file as otherwise the compiler will not be able to compile it.
IntelliJ hides the extension. Windows Explorer shows . Scala – Alex R Apr 19 '10 at 13:17.
Now I'm trying to use the Scala debugger in IntelliJ 9.0.1. Alas, I'm unable to get even this simple Scala example to run. I'd like to eventually put a breakpoint in it, but for now just running it would be great.
I have Java 1.6u20 and the Scala plug-in 0.3.473 (January 2010). What possibly could I be doing wrong?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.