【报错解决】Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Req

注销用户信息报错信息也删除了但是控制台报错:Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Mapper method 'com.buba.mapper.UserMapper.DelUser' has an unsupported return type: class java.lang.String] with root cause

这个可能是你的返回类型写错了,删除用户信息应该是用int类型报错原因如下:

只要把String类型改成int类型就好了


版权声明:本文为qq_55629923原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。