purenothingform
V2EX  ›  Java

如何评价 SLF4J-API 的破坏性升级

  •  
  •   purenothingform · Oct 29, 2022 · 3500 views
    This topic created in 1465 days ago, the information mentioned may be changed or developed.

    org.slf4j.spi.SLF4JServiceProvider 接口的函数 getRequesteApiVersion 被改成 getRequestedpiVersion 造成如下错误:

    java.lang.AbstractMethodError: Receiver class org.apache.logging.slf4j.SLF4JServiceProvider does not define or inherit an implementation of the resolved method 'abstract java.lang.String getRequestedApiVersion()' of interface org.slf4j.spi.SLF4JServiceProvider
    
    5 replies  •  2022-10-30 16:25:49 +08:00
    guyeu
    guyeu
    Oct 29, 2022❤️2
    1
    咋感觉像个 typo 呢。。
    Jooooooooo
    Jooooooooo
    Oct 29, 2022
    2
    看起来是手误了

    不过这也告诫我们, 没事不要升级.
    learningman
    learningman
    Oct 29, 2022
    3
    俩都像 typo ,Requeste 是个啥
    f64by
    f64by
    Oct 29, 2022
    4
    10th of August, 2021 - Release of SLF4J 2.0.0-alpha3
    The getRequesteApiVersion method in SLF4JServiceProvider was renamed as getRequestedApiVersion. This fixes SLF4J-516.

    都改了一年多了……
    manymobi
    manymobi
    Oct 30, 2022
    5
    大版本升级会出现 api 不兼容很正常,不然为啥升级大版本
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1268 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:42 · PVG 05:42 · LAX 13:42 · JFK 16:42
    ♥ Do have faith in what you're doing.