问题一
报错信息:
Error creating bean with name 'requestMappingHandlerMapping' defined in org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'bookController' method
com.rsh.ssm.controller.BookController#getByCondition(TbBook)
to {GET [/books]}: There is already 'bookController' bean method
当出现这种错误时一定是你的controller内部出错,仔细检查,把不合理的部分去掉修改即可。
问题二
在整合ssm时,找不到或打不开jdbc.properties
解决方案:修改下面路径即可。
标签:ssm,bookController,记录,bean,SSM,controller,整合,method From: https://www.cnblogs.com/20203923rensaihang/p/16751947.html