异常信息:nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'itemController' bean method
原因:两个controller的@RequestMapping注解打的一样。
解决方法:把冲突的名字改掉
异常信息:nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'itemController' bean method
原因:两个controller的@RequestMapping注解打的一样。
解决方法:把冲突的名字改掉