There is already ‘xxxController’ bean method的解决方法 Controller 的注解RequestMapping路径重复了,一般多出现在生成的代码,两个表的名称比较相似,生成时进行缩写就变成一样的了。改一下,然后maven那里clean一下重新运行。