Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous...
controller路径重复问题
·
1、原因
这主要是controller相关映射重复问题
2、解决思路:
(1)Controller里面的方法@RequestMapper注解里面的路径出现重复
(2)xml配置文件sql语句id重复了
(3)不限同一个类里面,可能在两个Controller类里面有相同的路径,xml文件也一样
参考:
Invocation of init method failed nested exception is java lang IllegalState_*滑稽哥哥*的博客-CSDN博客
更多推荐
所有评论(0)