springmvc 映射重复
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'bookController' method
public cn.qlu.yhy.model.Page<cn.qlu.yhy.model.Book> cn.qlu.yhy.controller.BookController.findPageAboutBook(cn.qlu.yhy.model.Page<cn.qlu.yhy.model.Book>,javax.servlet.http.HttpSession) throws javax.servlet.ServletException,java.io.IOException
to {[/book/myBook],methods=[GET]}: There is already 'bookController' bean method
检查一下提示的controller 中的方法, 存在映射路径相同的情况