There is already 'baseController' bean method spring方法重定义

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 method

public java.lang.String jsjx.smart.web.controller.BaseController.Employee() mapped.

baseController对象中已经存在方法名Employee了

你可能感兴趣的:(热门框架)