Record the problems encountered in the project. Because it is the first time to use Springboot, it may be a little unaccustomed to
The project started and reported this error. Most of the online searches said it was a directory structure problem. Of course, if your class is not under the application class or is on the same level as him, it must not be scanned. If it meets one of the requirements, then It is necessary to see if the implementation class of your Service is annotated with @Service