The solution to the error that the main class cannot be found or cannot be loaded when the IDEA import project is running
An error occurred during the IDEA import project run: the main class cannot be found or cannot be loaded
Clear the cache and restart
Execute Maven clean after the restart is completed
Finally, execute Maven compile
Recompile the project and resolve the problem