- 博客(10)
- 收藏
- 关注
原创 java.lang.AbstractMethodError: com.xxx.xxx(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
java.lang.AbstractMethodError: com.xxx.xxx(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
2023-02-10 09:56:18 582
原创 Bean named ‘xxx‘ is expected to be of type ‘com.xxx.xxx‘ but was actually of type ‘com.xxx.xxx‘
【代码】Bean named 'xxx' is expected to be of type 'com.xxx.xxx' but was actually of type 'com.xxx.xxx'
2022-11-07 16:23:52 553
原创 SpringBoot 项目写单元测试的时候,使用@Autowired调用Service、Controller层,报java.lang.NullPointerException
【代码】SpringBoot 项目写单元测试的时候,使用@Autowired调用Service、Controller层,报java.lang.NullPointerException。
2022-09-28 09:56:08 276
原创 Handler processing failed; nested exception is java.lang.NoSuchMethodError: xxx.xxx.xx.setFlag(Z)V
maven 项目,系统以 jetty:run 正常启动,访问页面一个功能时,报这个异常,发现是setFlag在实体类中没有这个属性,加上就解决了。
2022-09-28 09:50:28 143
原创 Java springBoot 自定义类中使用@Resource、@Autowired 注入报null异常解决方案 (java.lang.NullPointerException)
【代码】Java springBoot 自定义类中使用@Resource、@Autowired 注入报null异常解决方案 (java.lang.NullPointerException)
2022-08-24 17:19:41 787 1
原创 java.lang.IncompatibleClassChangeError: Found interface com.baomidou.mybatisplus.core.metadata.IPage
记录一下出的问题,mybatis-plus,自带查询的selectPage(),返回的IPage,然后转JSON.toJSONString(iPage)序列化会报错。方法一:使用其他分页插件PageInfo;方法二:加入+""
2022-05-09 21:25:58 1182
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人