zzh161
V2EX  ›  问与答

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

  •  
  •   zzh161 · Dec 11, 2023 · 1974 views
    This topic created in 901 days ago, the information mentioned may be changed or developed.

    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 replies    2023-12-15 09:36:10 +08:00
    ningfan120
        1
    ningfan120  
       Dec 12, 2023
    debug 模式会报错,run 不会- -
    ningfan120
        2
    ningfan120  
       Dec 13, 2023
    最新情况,idea 的插件 jrebel 评论区给出了解决方案
    skysky008
        3
    skysky008  
       Dec 14, 2023
    @ningfan120 能给个链接吗?我找不到,谢谢了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2685 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 05:38 · PVG 13:38 · LAX 22:38 · JFK 01:38
    ♥ Do have faith in what you're doing.