- 博客(146)
- 收藏
- 关注
原创 Java程序报错:InvalidDataAccessApiUsageException: DENIED Redis is running in protected mode because ...
Java程序报错:InvalidDataAccessApiUsageException: DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients. In this mode connections are only accepted from the
2024-09-24 11:32:45 258
原创 达梦数据库:获取建表SQL、创建索引SQL、DBMS_METADATA.GET_DDL
达梦数据库:获取建表SQL、创建索引SQL、DBMS_METADATA.GET_DDL
2024-09-03 09:22:10 726
原创 达梦数据库:控制器接口返回Json报错:Could not write JSON: java.lang.Boolean cannot be cast to java.lang.String; ...
达梦数据库:控制器接口返回Json报错:Could not write JSON: java.lang.Boolean cannot be cast to java.lang.String; nested exception is com.fasterxml.jackson.databind.JsonMappingException: java.lang.Boolean cannot be cast to java.lang.String (through reference chain: ...
2024-08-27 09:54:26 301
原创 达梦数据库:shardingsphere + pageHelper分页查询结果集属性全部为null
达梦数据库:shardingsphere + pageHelper分页查询结果集属性全部为null
2024-08-27 09:42:45 222
原创 达梦数据库:Cause: dm.jdbc.driver.DMException: 仅当指定列列表,且SET IDENTITY_INSERT为ON时,才能对自增列赋值
达梦数据库:Cause: dm.jdbc.driver.DMException: 仅当指定列列表,且SET IDENTITY_INSERT为ON时,才能对自增列赋值
2024-08-23 13:58:49 1354
原创 nginx代理websocket报错recv() failed (104: Connection reset by peer) while proxying upgraded connection
nginx代理websocket报错recv() failed (104: Connection reset by peer) while proxying upgraded connection
2024-07-30 13:42:39 368
原创 SQL查询报错:SQLException: sql injection violation, part alway true condition not allow
SQL查询报错:SQLException: sql injection violation, part alway true condition not allow
2024-06-26 09:36:19 476
原创 ShardingSphere跨表查询报错
ShardingSphere跨表查询报错:nested exception is org.apache.ibatis.exceptions.PersistenceException: Error querying database. Cause: java.lang.NullPointerExceptionThe error occurred while handling results
2024-06-11 14:02:45 510
原创 数据库操作数据报错:Statement violates GTID consistency: Updates to non-transactional tables can only be ...
MySQL同一事务中更新 innodb 和 myisam 表报错:Statement violates GTID consistency: Updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tabl
2024-06-05 11:03:25 737
原创 http接口上传文件响应413:413 Request Entity Too Large
http接口上传文件响应413:413 Request Entity Too Large
2024-06-05 10:33:59 1233
原创 解决mysql5.7版本中,子查询order by后,对子查询进行group by分组获取最新记录无效的问题
解决mysql5.7版本中,子查询order by后,对子查询进行group by分组获取最新记录无效的问题
2024-05-27 15:13:49 535
原创 PageHelper分页查询时,count()查询记录总数与实际返回的数据数量不一致
解决PageHelper分页查询时,count()查询记录总数与实际返回的数据数量不一致的问题
2024-05-27 14:05:30 520
原创 解决snakeyaml升级为2.0版本导致程序启动失败:NoSuchMethodError: org.yaml.snakeyaml.representer.Representer
解决snakeyaml升级为2.0版本导致程序启动失败:java.lang.NoSuchMethodError: org.yaml.snakeyaml.representer.Representer: method ()V not found
2024-05-23 14:42:19 2849 3
原创 解决updateByExample时属性值异常的问题(部分属性值没有使用占位符?进行占位,而是变成了属性的名称)
解决updateByExample时属性值异常的问题(部分属性值没有使用占位符?进行占位,而是变成了属性的名称)
2024-05-23 11:10:46 683
原创 程序报错:Mapped Statements collection already contains value for xxxMapper.save. please check file [xxx]
解决程序报错:java.lang.IllegalArgumentException: Mapped Statements collection already contains value for com.xxx.mapper.icip.duty.IcipOndutyAgentMapper.save. please check file [xxxMapper.xml] and com/xxx/mapper/icip/duty/IcipOndutyAgentMapper.java (best guess)
2024-05-16 15:29:48 440
原创 请求http接口报错:ResourceAccessException: xxx cannot retry due to server authentication, in streaming mode
ResourceAccessException: I/O error on POST request for "http://10.200.199.100/auth/getUserInfo": cannot retry due to server authentication, in streaming mode;HttpRetryException: cannot retry due to server authentication, in streaming mode
2024-05-16 15:10:21 779
原创 民航电子数据库:replace into导致自增主键异常,新增数据时报错:违反唯一键约束
民航电子数据库:replace into导致自增主键异常,新增数据时报错:违反唯一键约束
2024-05-07 17:40:36 637 1
原创 民航电子数据库:Can‘t find index: AggregationProjection(xxx), please add alias for aggregate selections
民航电子数据库:IllegalStateException: Can't find index: AggregationProjection(type=COUNT, innerExpression=(1), alias=Optional.empty, derivedAggregationProjections=[], index=-1), please add alias for aggregate selections
2024-04-30 14:18:56 1376 1
原创 请求接口报错:java.lang.IllegalStateException: argument type mismatch
请求接口报错:java.lang.IllegalStateException: argument type mismatch
2024-04-29 09:36:50 643 1
原创 民航电子数据库:报错merge sql error, dbType null, druid-1.1.9, sql : xxx
民航电子数据库:报错merge sql error, dbType null, druid-1.1.9, sql : xxxcom.alibaba.druid.sql.parser.ParserException: syntax error, error in :' LIMIT 0,1', expect IDENTIFIER, actual IDENTIFIER pos 101, line 2, column 36, token IDENTIFIER LIMIT
2024-04-25 14:03:43 730
原创 民航电子数据库:select、insert时包含数据库关键字,导致报错:Error updating database. Cause: java.lang.NullPointerException
民航电子数据库:select、insert时包含数据库关键字,导致报错:nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: java.lang.NullPointerException### The error may involve defaultParameterMap### The error occurred while sett
2024-04-25 10:20:05 1352 2
原创 ShardingSphere查询报错:Can‘t find index: AggregationProjection(xxx), please add alias for aggregate sele
IllegalStateException: Can't find index: AggregationProjection(type=COUNT, innerExpression=(0), alias=Optional.empty, derivedAggregationProjections=[], index=-1), please add alias for aggregate selections
2024-04-22 16:24:40 764
原创 民航电子数据库:java.lang.IllegalStateException: dbType not support : null, url jdbc:xxx
民航电子数据库:java.lang.IllegalStateException: dbType not support : null, url jdbc:xxx
2024-04-19 10:31:42 954
原创 Java:定时任务无法正常执行(scheduling + ShedLock)
Java:定时任务无法正常执行(scheduling + ShedLock)
2024-04-15 17:44:25 599
原创 民航电子数据库:[E14024]事务内变更操作次数超过最大许可值10000,可通过系统参数max_trans_modify适当调整限制
民航电子数据库:[E14024]事务内变更操作次数超过最大许可值10000,可通过系统参数max_trans_modify适当调整限制
2024-04-15 17:11:21 204
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人