bug:java lang.IllegalStateException Ambiguous handler methods mapped for HTTP path '/system/loginUser.htm': {public com.****.ltcins.userauth.dto.rsp.ResultDTO com.****.ltcins.cd.cms.role.controller.LoginUserController.remove(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse), public com.****.yfybx.admin.service.base.ResultDto com.****.yfybx.admin.controller.easyui.EasyUIController.remove(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.io.Serializable[])}. If you intend to handle the same path in multiple methods, then factor them out into a dedicated handler class with that path mapped at the type level!
问题原因:LoginUserController和他的父类EasyUIController中都有一个remove,重复
解决方法:改变LoginUserController中原本的remove方法名remove1,即可