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
1
guyeu 2022-10-29 14:04:34 +08:00 2
咋感觉像个 typo 呢。。
|
2
Jooooooooo 2022-10-29 14:24:30 +08:00
看起来是手误了
不过这也告诫我们, 没事不要升级. |
3
learningman 2022-10-29 21:28:01 +08:00
俩都像 typo ,Requeste 是个啥
|
4
f64by 2022-10-29 23:19:23 +08:00
10th of August, 2021 - Release of SLF4J 2.0.0-alpha3
The getRequesteApiVersion method in SLF4JServiceProvider was renamed as getRequestedApiVersion. This fixes SLF4J-516. 都改了一年多了…… |
5
manymobi 2022-10-30 16:25:49 +08:00
大版本升级会出现 api 不兼容很正常,不然为啥升级大版本
|