错误记录:
springboot项目启动报错 Specified class is an interface
解决方法: 项目中有重复命名的Mapper文件,修改文件名重启
注: 控制台报错的时候报的是其他的错误,报其他的Mapper文件注入失败,其实根源在这里
本文介绍了一种常见的SpringBoot启动时出现的错误“Specified class is an interface”,并提供了具体的解决办法。通常这类问题是因为项目中存在重名的Mapper文件导致。
springboot项目启动报错 Specified class is an interface
解决方法: 项目中有重复命名的Mapper文件,修改文件名重启
注: 控制台报错的时候报的是其他的错误,报其他的Mapper文件注入失败,其实根源在这里
2827
2714
1249
447

被折叠的 条评论
为什么被折叠?
