NetBeans 12.0
Jdk 15
I cannot launch my program, clicking the green run button doesn't do anything, and right click + run file on MainFrame gives the error "Class does not have a main method". But as you can see in the GIF below, it does have a main(String args[]).
Does anyone have any idea why this happens?


