上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 【MyBatisSystemException 异常】net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "," "," org.mybatis.spring.MyBatisSystemException: n 阅读全文
posted @ 2022-12-09 10:16 changlinlo 阅读(1092) 评论(0) 推荐(0) 编辑
摘要: 启动报Error while adding the mapper 'xxx.xxx.xxx' to configuration.[java.lang.IllegalStateException: No typehandler found for property xxx] 【问题】启动报异常错误 Error while adding the mapper 'xxx.xxx.xxx' to configuration java.lang.IllegalStateException: No typehandler found for property xxx 【原因】实体 阅读全文
posted @ 2022-11-28 13:38 changlinlo 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 【问题】数据库存json数据类型,参数JSONObject/JSONArray类型返回的结果映射为null 【原因】实体类上少加了 autoResultMap = true 参数,导致返回json数据为null 【解决】将这个参数设置为true 就ok了 【结果】 阅读全文
posted @ 2022-11-26 08:46 changlinlo 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 【原因】JSONObject 使用错了!!!! 不是[JsonObject] ! !! 阅读全文
posted @ 2022-11-25 18:44 changlinlo 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 【使用】MyBatis-Plus使用FIND_IN_SET函数 FIND_IN_SET 函数是 IN 函数的升级版,功能类似。 区别在于:如果是常量,则可以直接用 IN, 否则要用 FIND_IN_SET() 函数 default List<DeptDO> selectChildrenDeptByP 阅读全文
posted @ 2022-11-03 17:09 changlinlo 阅读(4329) 评论(0) 推荐(0) 编辑
摘要: 【问题】项目启动时报错 2022-10-28 15:47:01.812 | INFO 7040 | main [TID: N/A] .s.d.r.c.RepositoryConfigurationDelegate | Multiple Spring Data modules found, enter 阅读全文
posted @ 2022-10-28 15:58 changlinlo 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: 【问题】IDEA 对项目Maven进行install项目时报错 错误如下: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project cr 阅读全文
posted @ 2022-10-24 19:18 changlinlo 阅读(1834) 评论(0) 推荐(1) 编辑
摘要: MySQL update中使用select:You can&#39;t specify target table &#39;xxx&#39; for update in FROM clause 问题 【问题】想通过update更新某个查询的合计值,这样就可以不用查询两次了(一个查询统计总数,一个更新表中的数据) 【原因】update语句不能包含select的查询结果 不能通过 update a set a.xx= (select xx from b) 必须使用 join 进行连接 update 阅读全文
posted @ 2022-09-17 13:31 changlinlo 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 如果改了nacos,重启一下nacos就行了。 阅读全文
posted @ 2022-08-30 08:51 changlinlo 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 【问题】Error:(1, 1) java: 非法字符: '\ufeff' Error:(1, 10) java: 需要class, interface或enum 【原因】编译问题 因为程序编译时是按照UTF-8的格式来编译运行,但是当前文件格式是UTF-8-BOM编码的,编辑器不能识别文件头部的\ 阅读全文
posted @ 2022-08-22 15:03 changlinlo 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页