最近 jrebel 出问题了吗?似乎跟 jackson 有兼容性问题?

151 天前
 zzh161

IDEA + JREBEL 插件,试了好几个版本的旧插件也不行,尝试不同的 spring-boot-starter-parent 版本也不行。

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    com.fasterxml.jackson.databind.ObjectMapper$1.addSerializers(ObjectMapper.java:935)

The following method did not exist:

    com.fasterxml.jackson.databind.ObjectMapper._jr$ig$_serializerFactory(Ljava/lang/Object;)Lcom/fasterxml/jackson/databind/ser/SerializerFactory;

The calling method's class, com.fasterxml.jackson.databind.ObjectMapper$1, was loaded from the following location:

    jar:file:/E:/maven-cache/repository/com/fasterxml/jackson/core/jackson-databind/2.13.5/jackson-databind-2.13.5.jar!/com/fasterxml/jackson/databind/ObjectMapper$1.class

The called method's class, com.fasterxml.jackson.databind.ObjectMapper, is available from the following locations:

    jar:file:/E:/maven-cache/repository/com/fasterxml/jackson/core/jackson-databind/2.13.5/jackson-databind-2.13.5.jar!/com/fasterxml/jackson/databind/ObjectMapper.class

The called method's class hierarchy was loaded from the following locations:

    com.fasterxml.jackson.databind.ObjectMapper: file:/E:/maven-cache/repository/com/fasterxml/jackson/core/jackson-databind/2.13.5/jackson-databind-2.13.5.jar
    com.fasterxml.jackson.core.ObjectCodec: file:/E:/maven-cache/repository/com/fasterxml/jackson/core/jackson-core/2.13.5/jackson-core-2.13.5.jar
    com.fasterxml.jackson.core.TreeCodec: file:/E:/maven-cache/repository/com/fasterxml/jackson/core/jackson-core/2.13.5/jackson-core-2.13.5.jar
649 次点击
所在节点    问与答
4 条回复
ningfan120
150 天前
debug 模式会报错,run 不会- -
ningfan120
149 天前
最新情况,idea 的插件 jrebel 评论区给出了解决方案
skysky008
148 天前
@ningfan120 能给个链接吗?我找不到,谢谢了
ningfan120
147 天前

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/999409

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX