日常问题
乐无声
这个作者很懒,什么都没留下…
展开
-
SpringBoot项目引入jquery无效问题
SpringBoot项目引入jquery,html能显示引入成功,前端页面却找不到.解决方法:1.先查看原创 2021-05-04 15:19:44 · 1800 阅读 · 1 评论 -
链接数据库报错(Communications link failure)
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets fro...原创 2020-02-19 11:08:17 · 802 阅读 · 0 评论 -
mybatis-generator查出字段为空的情况
今天在实现JWT验证的时候,发现函数selectByExample()查询出来的token一直为null,原因是text属于文本字段,查询函数要从selectByExample换成selectByExampleWithBLOBs,看mapper.xml也发现长字段的属性单独划在一个resultMap中。...原创 2021-06-09 16:22:05 · 308 阅读 · 0 评论