I am getting error while writing 1st program in eclipse .I am building this program by using Maven and after that i add maven dependency in pom.xml file. After that i change project into Scala Nature. I am attaching all the necessary screen shot . please help me to sort out my issue.
Error: Main method not found in class example1.demo1, please define the main method as:
public static void main(String args)
or a JavaFX application class must extend javafx.application.Application