An error occurs and it can be compiled, but the following error message appears when running. Why is this?
Jesse·Bryant2021-05-05 13:44:14
0
1
920
The main method cannot be found in the class method, please define the main method as: public static void main(String[] args) Otherwise the JavaFX application class must extend javafx.application.Application
Found the reason