Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

scala Error: Main method not found in class please define the main method as: public static void main(String[] args) or a JavaFX application class must extend javafx.application.Application

/*
  This happened to me because an the object that extended App had the 
  same name of a test class. Try renaming the object or the class if
  this could be your case too.
*/
Source by www.yawintutor.com #
 
PREVIOUS NEXT
Tagged: #scala #Main #method #class #define #main #method #public #static #void #JavaFX #application #class #extend
ADD COMMENT
Topic
Name
8+6 =