随笔分类 -  Spring学习

跟着官网学习Spring Framework
关于SpringBoot 启动失败 Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. 的问题解析
摘要:Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined i 阅读全文

posted @ 2023-09-08 14:17 王半仙儿的博客 阅读(1566) 评论(0) 推荐(0)

Ambiguous Mapping 的处理方法
摘要:出现原因:两个不同的Controller 中出现相同映射路径 eg: AController:/v1/wdnmd/userList/list BController:/v1/wdnmd/userList/list 就会出现此问题 阅读全文

posted @ 2023-08-14 11:41 王半仙儿的博客 阅读(237) 评论(0) 推荐(0)

导航