在使用springBoot+mybatis 搭建项目的时候,失踪无法启动。
报错提示:
public com.xx.springbootmybatis.pojo.User com.wx.springbootmybatis.controller.userController.findUser(int)
to {}: There is already ‘userController’ bean method
错误原因:
我这里使用的name。应该改成使用value才对。如果你是用的value,检查是否有重复的名字。