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 'baseController' method public void jsjx.smart.web.controller.BaseController.loadEmployee(java.lang.String,java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) to {[/Base/Employee]}: There is already 'baseController' bean methodpublic java.lang.String jsjx.smart.web.controller.BaseController.Employee() mapped.
baseController对象中已经存在方法名Employee了
There is already 'baseController' bean method spring方法重定义
最新推荐文章于 2025-03-07 00:08:30 发布