摘要: 问题 单元测试时,遇到以下报错: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: error: can not execute. because can not find cache of TableInfo for en 阅读全文
posted @ 2023-01-05 17:07 Andya_net 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 引言 本次通过单独类进行单元测试,无需启动上下文。 代码实践 controller源代码 @Slf4j @RestController @RequestMapping("/demo") @Api(value = "DemoController", tags = "Demo管理模块") public 阅读全文
posted @ 2023-01-05 09:28 Andya_net 阅读(423) 评论(0) 推荐(0) 编辑