Ambiguous mapping found. Cannot map controller bean method

报错信息:Ambiguous mapping found. Cannot map controller bean method

从报错信息来说,说你的method的出现重复。两种解决办法:

第一种:

ctrl+f进行查询是否出现两个重复名字

第二种:

写成name也会报错

猜你喜欢

转载自blog.csdn.net/qq_37909508/article/details/83826440