我是靠谱客的博主 如意麦片,这篇文章主要介绍Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous...1、原因2、解决思路:,现在分享给大家,希望可以做个参考。
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博客
最后
以上就是如意麦片最近收集整理的关于Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous...1、原因2、解决思路:的全部内容,更多相关Invocation内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复