java - Scala Main Class not found in Eclipse ide -


i installed scala , scala ide eclipse. message everytime try compile simple "helloworld":

package asd  object testobject {   def main(args: array[string]): unit = {     println("asda");   } } 

"error: mainclass asd.testobject not found"

new scala project -> asd

new scala object -> copy&paste code above

run -> scala application

my problem i've tried literally found on internet , wont work. dont know why doesnt work. main class in runconfig: asd.testobject. hope of can me, think didnt include environment or scala jre somewhere...??

scala -version : 2.11.6

edit:: @dragonborn i'm not quite sure mean? made picture shows config scala. can explain it?

i cannot post pictures here here link: scala config

though scala ide :) still expects class scala file found in right package dir.

e.g. testobject.scala should part of src/main/scala/asd

we had change scala file location our app main class able debug in scala ide. small nuisance.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -