![](https://img-blog.csdnimg.cn/2019092715111047.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
springboot知识点和问题点
springboot知识点和问题点
yyyyyuanxian
超爱吃曲奇
展开
-
springboot连不上redis,报错Cannot connect, Event executor group is terminated
springboot连不上redis,报错Cannot connect, Event executor group is terminated,第一步当然是检查redis是否启动,然后就是服务的jdk版本的配置、maven配置等等。原创 2024-06-28 14:42:40 · 135 阅读 · 1 评论 -
在 Spring Boot 2.0 中使用 AOP 切面统一处理请求日志
https://www.cnblogs.com/quanxiaoha/p/10414681.htmlhttps://www.cnblogs.com/shenMaQN/p/17748150.html原创 2024-06-12 16:06:28 · 345 阅读 · 0 评论 -
mybatis java.lang.IllegalArgumentException
排查后,发现新增的DAO层,需要在sqlSession-config.xml中添加。原创 2024-04-29 15:56:28 · 137 阅读 · 0 评论 -
使用Postman本地测试开发的get接口,访问成功但值为空
错误:http://localhost:8080/admin/model-config&pageNo=2&pageSize=10。正确:http://localhost:8080/admin/model-config?使用Postman本地测试开发的get接口,访问成功但值为空。1.检查传参格式是否正确,get请求将参数放在url里面。2.检查url是否正确。原创 2023-09-07 10:12:05 · 921 阅读 · 0 评论 -
布尔类型传参:JSON parse error: Unrecognized field “isWatch“ (), not marked as ignorable;
后台管理系统,需要判断配置的新型号是手表还是手机,就在实体类里加了个private boolean isWatch;postman发送请求过来的时候,就有这样的报错:JSON parse error: Unrecognized field “isWatch” (), not marked as ignorable;解决方法:1.改成包装类型Boolean isWatch;原创 2023-08-25 18:23:48 · 246 阅读 · 0 评论 -
Add SSL config error ! java.io.IOException: Keystore was tampered with, or password was incorrect
通过代码异常栈找到报错的位置,再看是引用了配置文件的哪个地方,能看到是没设置密码,通过git的修改记录能将密码填上去。原创 2023-08-03 18:18:31 · 179 阅读 · 0 评论 -
controller里该写什么
controller该写什么原创 2022-09-28 15:41:27 · 1398 阅读 · 0 评论