org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'bestSalesControrller' method public com.ioperate.bi.dto.ReturnResult com.ioperate.bi.controller.BestSalesControrller.login(javax.servlet.http.HttpServletRequest)
1 回答
qq_那一眸的风情_03788798
TA贡献11条经验 获得超4个赞
1你查找方法的controller层的扫描注解的路径是否错误
<context:component-scan base-package="包名.controller"></context:component-scan>
2找找BEstSalesController控制层是否添加注解@controller
添加回答
举报
0/150
提交
取消