There is already 'userController' bean method
时间: 2024-02-06 17:04:10 浏览: 128
UserController
This means that there is already a bean method named 'userController' defined in your Spring application context. You cannot define two bean methods with the same name in the same context, so you will need to either rename one of the methods or remove one of the duplicates. This should resolve the issue and allow your application to start up successfully.
阅读全文