
报错集合
记录了开发过程中遇到的各种疑难杂症的解决办法。
潮流coder
一个打工的代码人,梦想技术一天比一天好。正在努力走向码世界,在码路中一路前行……我在码路上。
展开
-
invalid comparison: cn.hutool.core.date.DateTime and java.lang.String原因:mybatis中的if test判断日期!=‘‘报错
判断,而java.util.date类型是对象,不能用。原创 2024-06-20 16:39:57 · 347 阅读 · 0 评论 -
Collectors.toMap Duplicate key|ORA-02291
如果映射的键包含重复项,则在执行收集操作时会抛出IllegalStateException。toMap(Function, Function) 返回一个 Collector,它将元素累积到一个 Map中,其键和值是将提供的映射函数应用于输入元素的结果。转载 2023-11-15 14:54:28 · 1299 阅读 · 0 评论 -
Error creating bean with name ‘xxxMapper‘,Invocation of init method failed; nested exception is java
使用的springboot2.7.17版本,mybatisplus为3.5.3.1。原创 2023-10-24 22:06:53 · 804 阅读 · 1 评论 -
oracle报错ORA-01722:invalid number|varchar2不能为clob|explain|存储过程|序列|占字节数
如果字符串类型的参数可以成功转换为数值型,则会进行类型转换并比较。而在此例中,‘11’可以被正确转换为一个整数,因此不会报错,而如果您将参数state设置为字符串类型的’0.1’,则会导致SQL语句执行错误,提示"ORA-01722: invalid number"。由于w_state字段的类型为数值型,而参数state的类型为字符串型,因此会导致无法进行正确的比较,从而报错。这是因为在SQL语句中进行了等值比较,而Oracle数据库默认情况下会使用隐式数据类型转换,这是因为Oracle数据库在进行。原创 2023-05-10 16:57:44 · 1555 阅读 · 0 评论 -
springboot不报任何错误,启动不了Disconnected from the target VM
端口号超出范围值导致springboot直接启动不了原创 2023-02-24 18:32:27 · 860 阅读 · 0 评论 -
Error creating bean with name ‘appController‘: Lookup method resolution failed; nested exception is
springboot启动报错原创 2022-12-16 11:18:30 · 2824 阅读 · 0 评论 -
linux安装MySQL8service mysql status my_print_defaults: Can‘t read dir of ‘/etc/my.cnf.d‘ (OS errno 2
linux安装MySQL原创 2022-06-05 08:10:21 · 1966 阅读 · 2 评论 -
cannot be opened because it does not exist,文件明明存在缺报文件不存在的解决办法(踩坑记录)
cannot be opened because it does not exist原创 2022-01-11 09:58:31 · 12282 阅读 · 2 评论 -
Java枚举类中新增枚举值报错(踩坑记录)
Java枚举类中添加新的枚举值报错问题原创 2022-01-10 15:03:14 · 3954 阅读 · 4 评论 -
解决MyBatisPlus报错:Failed to process, please exclude the tableName or statementId(踩坑记录)
解决MyBatisPlus报错:Failed to process, please exclude the tableName or statementId原创 2022-01-07 08:38:00 · 2774 阅读 · 0 评论