后台报错NoSuchMethodError

严重: Servlet.service() for servlet [youlexuanweb] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: com.offcn.service.BrandService.findOneById(J)Lcom/offcn/pojo/TbBrand;] with root cause java.lang.NoSuchMethodError: com.offcn.service.BrandService.findOneById(J)Lcom/offcn/pojo/TbBrand;

原因是在interface中添加了新的方法而没有install,所以提示找不到方法

猜你喜欢

转载自blog.csdn.net/qq_42837554/article/details/92014552