异常类名
java.lang.IllegalStateException
描述
Ambiguous mapping. Cannot map ‘studentThymeleafController’ method
net.weekeight.controller.StudentThymeleafController#getByPage(int, int, Model)
to { [/stu/getByPage]}: There is already ‘studentController’ bean method
问题原因
Controller包中出现重复的RequestMapping地址
解决方案
修改RequestMapping中地址即可
异常重现
已复现