V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
zzh161
V2EX  ›  问与答

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

  •  
  •   zzh161 · 346 天前 · 858 次点击
    这是一个创建于 346 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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
    
    4 条回复    2023-12-15 09:36:10 +08:00
    ningfan120
        1
    ningfan120  
       345 天前
    debug 模式会报错,run 不会- -
    ningfan120
        2
    ningfan120  
       344 天前
    最新情况,idea 的插件 jrebel 评论区给出了解决方案
    skysky008
        3
    skysky008  
       343 天前
    @ningfan120 能给个链接吗?我找不到,谢谢了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3648 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 00:15 · PVG 08:15 · LAX 16:15 · JFK 19:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.