- 博客(6)
- 收藏
- 关注
原创 Invalid JSON text in argument 1 to function json_extract: “The document is empty.“ at position 0
数据结构:ITEM 表中查询 METADATA 扩展字段。
2024-02-29 18:15:18 519
原创 项目启动报错ClassNotFoundException: org.springframework.web.socket.server.standard.ServerEndpointExporter
当时Reload All Maven Projects,重新刷新了依赖还是无法解决。在项目启动时报的错误,项目原来启动是没有问题的。直接删除掉对应的依赖包重新拉取可以解决。那么问题很可能就是包的问题的。可能就依赖抽风了经常遇到。
2024-01-19 11:59:56 526 1
原创 If you are using WebLogic you will need to add ‘org.slf4j‘ to prefer-application-packages in
问题:项目加入了kafka依赖之后slf4j起了冲突,需要去除解决。
2022-04-08 19:25:49 11827
原创 nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException
前提: 报错是无法对R里的值进行序列化,具体是拿到一个json数据,对其使用Hutool工具进行转换,取出需要里面的parkData数据,但是数据为空的时候,再服务间使用远程调用的时候,传输的R就会报错。经过多次测试才发现,当json.get("parkData)取值时返回的null是一个JSONNull,进行了序列化的操作,所有会出现错误。解决:可以创建一个封装类,将需要的值进行JSONUtil.toBean();进行转换,就不会出现JSONNull。或者如上面的方式...
2021-06-22 09:23:53 6144
原创 Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its
一次一个项目里遇到了启动编译前就报错:Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.13.大概意思:模块是用不兼容的Kotlin版本编译的。但是从来没有遇到过问题,网上也没有找到类似的解决方案。后来尝试了挺多方式,还是通过重启了这个插件:可以取消掉再勾
2021-05-31 15:49:56 75881 48
原创 pom报错Element ‘dependency‘ cannot have character [children],because the type‘s content type is elemen
1、pom文件报错:报错说dependency里不能存在children,这个引用是百度上复制下来的;Element 'dependency' cannot have character [children],because the type's content type is element-only.2、解决:可以去maven仓库里复制下来...
2021-04-23 15:36:13 1243
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人