![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工作异常
shiniannian
所有博客为阅读、观看各位大佬的博客、书籍、视频,从中学到的知识做的一个记录,不做其他任何用途,如有侵权请联系删除,谢谢!
展开
-
重装IDEA启动项目报错(maven配置文件仓库镜像与JDK的详细配置)
出现以下异常且所有的包爆红原创 2020-03-08 01:12:47 · 971 阅读 · 0 评论 -
项目使用MyBatiesPlus时,调用方法出现异常:Cannot execute table Method, ClassGenricType not found.
项目使用MyBatiesPlus时,调用方法出现异常MybatisPlusException: Error: Cannot execute table Method, ClassGenricType not found原因:对应实体mapper没有继承 BaseMapper<> 且实现对应的泛型。 对应的实体类没有加上@TableName注解。异常如下:解决方法:1、mapper接口上继承BaseMapper<...原创 2020-07-06 16:23:11 · 4578 阅读 · 2 评论 -
SpringBoot做单元测试爆空指针NullPointerException
debug测试类发现异常出现在service调用接口方法上,其他地方没有问题,最后发现是因为测试类上没有加上SpringBoot专有的测试注解:@SpringBootTest@RunWith(SpringRunner.class)加上就没问题了。原创 2020-07-02 15:52:33 · 4126 阅读 · 2 评论