Netbeans - class does not have a main method

后端 未结 12 2643
别跟我提以往
别跟我提以往 2020-12-06 14:28

My program is just a simple System.out.println(\"\"); But netbeans cannot find the main method. Is netbeans 6.7.1 conflict with WIN7? Any possible error?

12条回答
  •  南笙
    南笙 (楼主)
    2020-12-06 15:29

    Exceute the program by pressing SHIFT+F6, instead of clicking the RUN button on the window. This might be silly, bt the error main class not found is not occurring, the project is executing well...

提交回复
热议问题