The main class could not be found or loaded when springboot started

Error information display

solve

Step 1: refresh

Step 2:

That’s it.

Read More: