Details
Description
Like this
Unexpected problem occured during version sanity check 11:27:32 Reported exception: 11:27:32 java.lang.AbstractMethodError: org.apache.logging.slf4j.SLF4JServiceProvider.getRequestedApiVersion()Ljava/lang/String; 11:27:32 at org.slf4j.LoggerFactory.versionSanityCheck(LoggerFactory.java:297) 11:27:32 at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:141) 11:27:32 at org.slf4j.LoggerFactory.getProvider(LoggerFactory.java:421) 11:27:32 at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:407) 11:27:32 at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:356) 11:27:32 at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:382) 11:27:32 at edu.umd.cs.findbugs.PluginLoader.<clinit>(PluginLoader.java:113) 11:27:32 at edu.umd.cs.findbugs.DetectorFactoryCollection.getCoreResource(DetectorFactoryCollection.java:353) 11:27:32 at edu.umd.cs.findbugs.SystemProperties.loadPropertiesFromConfigFile(SystemProperties.java:84) 11:27:32 at edu.umd.cs.findbugs.SystemProperties.<clinit>(SystemProperties.java:67) 11:27:32 at edu.umd.cs.findbugs.DetectorFactoryCollection.<clinit>(DetectorFactoryCollection.java:57) 11:27:32 at edu.umd.cs.findbugs.workflow.Filter.main(Filter.java:693)
Checked the dependencies, it uses slf4j-api-2.0.0 and log4j2 2.18.0 together, which may be caused by LOG4J2-3139.
In spotbugs 4.7.3 they bumped log4j2 to 2.19.0, which should have fixed the problem.
https://github.com/spotbugs/spotbugs/issues/2176
Let's also do an upgrade.
Attachments
Issue Links
- is related to
-
LOG4J2-3139 Startup errors with SLF4J 2.0.0-alpha4
- Resolved
- links to