I just tried it. It didn't work

caiwenxuan 注册会员
2023-02-28 13:09

Main function?

diotzhou 注册会员
2023-02-28 13:09

The file name does not match the main class, so you cannot find the main function.
First of all, you need to have a class with the same file name under the project file. This is the main class of the project.
Main class under the main class is the main function
It cannot run without the main function.