Table of contents
Two, to solve the error method
1. Encountered an error
When I was doing that Xiaobai's final project, the project was springboot+vue2.0. After using the code generator, the startup encountered the following problems.
Error creating bean with name 'userController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'userService' is exp