Re: [scala-ide-user] (eclipse,scala and maven) addition of maven nature => object with "main" not found

30 views
Skip to first unread message

iulian dragos

unread,
Oct 17, 2012, 3:53:28 PM10/17/12
to scala-i...@googlegroups.com


On Wed, Oct 17, 2012 at 5:10 PM, lolveley <lolv...@laposte.net> wrote:
hello

here are some actions:
1/ creation of a scala project in eclipse (before : addition of the plugin scala for scala 1.9.2)

Are you sure about the version? The current version is 2.0.2, and the most recent milestone is 2.1.0.m2.
 
2/ in the "src" directory, a scala object with a method main added (the method contains only : println("abc") )
3/ in the project, facet "maven" added
4/ try of launching the scala project (via the "run configurations" menu)

I have then the error from eclipse : it is impossible to find or get the main class "launcher"

I would :
1/ know if somebody has had the same issue
2/ eventually how I can make it work

thanks!



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais
Reply all
Reply to author
Forward
0 new messages