- 博客(26)
- 收藏
- 关注
原创 以下是一个完整的Java方法,用于统计文件的字符数、行数和单词数(某银行外包笔试)
以下是一个完整的Java方法,用于统计文件的字符数、行数和单词数
2025-11-15 09:04:30
902
原创 中控打卡机连接
这个程序的工作流程就像是一个考勤数据搬运工准备阶段:连接数据库和考勤机,设置好编码预加载:先把所有用户信息拿到手,避免重复查询读取处理:一条条读取打卡记录,用HashSet去重,修复乱码保存入库:把处理好的记录保存到数据库统计报告:告诉用户这次搬运了多少数据。
2025-11-12 10:26:15
585
原创 ... 97 common frames omittedCaused by: org.springframework.beans.factory.BeanCurrentlyInCreationEx
目前没找到解决方法,解决循环依赖啊,求大佬。
2025-05-01 15:13:03
216
原创 ... 20 common frames omitted Caused by: java.lang.IllegalStateException: No fallback instance of typ
加了@componentScan。
2025-04-25 14:28:01
144
原创 We‘re sorry but knife4j-vue doesn‘t work properly without JavaScript enabled. Please enable it to co
We're sorry but knife4j-vue doesn't work properly without JavaScript enabled. Please enable it to continue.很烦啊 怎么老是这样?????
2025-04-16 19:20:44
277
原创 import com.alipay.api.request.AlipayTradeOrderSettleQueryRequest;
import com.alipay.api.request.AlipayTradeOrderSettleQueryRequest;
2025-04-06 15:26:12
257
原创 Error starting ApplicationContext. To display the conditions report re-run your application with ‘de
Error starting ApplicationContext. To display the conditions report re-run your application with 'de
2025-02-09 16:07:10
195
原创 Caused by: java.lang.IllegalStateException: No primary or default constructor found for interface ja
在请求参数那加requestBody。
2024-12-12 22:47:21
137
原创 Unable to infer base url. This is common when using dynamic servlet registration or when the API is
我去把依赖换成2.9.2就OKl了。
2024-11-26 17:21:47
115
原创 java.lang.ClassCastException: java.lang.String cannot be cast to cn.sycoder.auth.AuthInfo
java.lang.ClassCastException: java.lang.String cannot be cast to cn.sycoder.auth.AuthInfo
2024-11-25 22:21:27
129
原创 Field redisUtil in cn.sycoder.controller.Test required a bean of type ‘cn.sycoder.config.RedisUtil‘
加上require=false 以后找不到就不。
2024-11-25 18:16:49
360
原创 Request processing failed; nested exception is java.lang.NumberFormatException: null at org.springf
Request processing failed; nested exception is java.lang.NumberFormatException: null at org.springf
2024-11-25 16:29:14
100
原创 Invalid bound statement (not found): cn.sycoder.mapper.RoleMapper.updateById at org.springframework
Invalid bound statement (not found): cn.sycoder.mapper.RoleMapper.updateById at org.springframework
2024-11-22 21:21:47
309
原创 message `Failed to convert value of type ‘java.lang.String‘ to required type ‘java.lang.Long‘; neste
message `Failed to convert value of type ‘java.lang.String‘ to required type ‘java.lang.Long‘; neste
2024-11-18 23:11:46
205
原创 Caused by: org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause:
报错:Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'role_id' in 'where clause。直接把sql里面的名字改了,好像有一个注解可以映射数据库改名字 忘记了。因为数据库写的roleId。
2024-11-16 22:21:31
477
1
原创 Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.List‘; nested exc
这通常表示在尝试将字符串转换为数字时失败了。表示在转换过程中发生了具体的异常,这里是。,而这不是一个合适的数字格式,导致转换失败。说明程序试图处理的字符串是。把那个转JSON的地方改了。意味着代码试图将一个。
2024-11-16 21:47:56
1070
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅