- 博客(6)
- 收藏
- 关注
原创 记一次UnsupportedOperationException
list.add爆UnsupportedOperationException异常
2022-06-21 15:52:24
147
原创 java.sql.SQLException: Parameter index out of range (0 < 1 )
在写仿照mybatis框架时遇到的一个错误,经排查,应该是此处代码问题 for (int i = 0; i < parameterMap.size(); i++) { preparedStatement.setLong(i,Long.parseLong(parameter.toString())); }向SQL中传入数据是从1开始的,从ResultSet中取数据也是从1开始修改为 f
2022-03-07 15:33:31
759
原创 记一次使用hutool工具生成雪花算法的报错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'snowFlake': Invocation of init method failed; nested exception is java.lang.RuntimeException: cn.hutool.core.exceptions.UtilException: Instance class [class cn.hutool..
2022-02-26 10:16:52
4351
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人