The error is shown in the figure
The reason for this error is that there are two bridges when the log information is generated, and the conflict results in error.
The solution is as follows:
Find the structure diagram in the POM file, and press and hold the Cril key to enlarge the diagram
Find the dependency as shown in the figure below, because there are two bridge conflicts, we only need to eliminate one
As shown in the figure below, right-click the logback classic we found and left-click exclude
At this point, our modification is good. Return to our POM file and update our modification, as shown in the following figure:
At this point, we can run our project again and find that our mistakes are gone, as shown in the figure below.
Read More:
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.
- SLF4J:Failed to load class “org.slf4j.impl.StaticLoggerBinder”
- @In slf4j log.info Compile error: cannot find symbol log
- In idea, @ slf4j is used to report an error, but log is not found
- Could not find artifact org.olap4j:olap4j:pom:0.9.7.309-JS-3 in alimaven
- Installing the image J plug-in
- Eclipse cannot import org.apache.log4j .Logger
- log4j:ERROR
- About error statuslogger no log4j2 configuration file found
- Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()) error appears in the R language installation package
- In J2EE Tomcat webapps, there are only folder directories and no files
- QuickFIX/J100% Java Open Source FIX Engine
- ERROR StatusLogger No log4j2 configuration file found.
- ERROR StatusLogger No Log4j 2 configuration file found
- IntelliJ idea startup error: error statuslogger log4j2 could not find a logging implementation
- How to display the Chinese name and installation time of installed software in snmp4j walk Windows
- Failed startup of context o.e.j.w WebAppContext@532aaf8a {/admin,file:/D:/Develop/activeM
- When using exe4j to generate exe executable file from jar, no JVM could be found on your system exception appears
- Neo4j LOAD CSV Error: Query cannot conclude with LOAD CSV
- Error creating bean with name ‘datasource’ defined in class path resource