Register your spring boot project with the Nacos service using spring cloud, and start the project after configuring the file
Springboot version
Spring cloud version
Startup class annotation
Start the class, and the result is an error
Solution:
Because the springboot version does not correspond to the Nacos version in springcloud, students who have studied springcloud should know that the springboot version and the Nacos version in springcloud must correspond, and the responsible person cannot register. My problem is that the version does not correspond
Changing my springboot version to 2.2.5 release can solve the problem
This kind of problem is mainly caused by version mismatch