You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the application, I am consistently encountering the SLF4J: Class path contains multiple SLF4J bindings warning. Despite efforts to resolve this by excluding slf4j-simple from the stanford-corenlp dependency, the issue persists.
Log:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/Descargas%20Google/stanford-corenlp-4.5.4/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Manu/.m2/repository/ch/qos/logback/logback-classic/1.2.5/logback-classic-1.2.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
Steps to reproduce:
Clone the repository.
Run the application.
Observe the above warning in the logs.
Attempted Resolutions:
Excluded slf4j-simple from the stanford-corenlp dependency in pom.xml.
Explicitly included slf4j-api and logback-classic dependencies.
Updated all project dependencies and reimported them.
Checked the dependency tree to verify the absence of slf4j-simple.
Ran the application outside the IDE using Maven.
Added slf4j.properties to manually specify the logger for SLF4J.
None of the above solutions resolved the issue.
Environment:
Java version: ( Java 11)
Maven version: ( 3.6.3)
OS: (e.g., Windows 10)
Any assistance or insights regarding this issue would be highly appreciated.
The text was updated successfully, but these errors were encountered:
Description:
When running the application, I am consistently encountering the
SLF4J: Class path contains multiple SLF4J bindings
warning. Despite efforts to resolve this by excludingslf4j-simple
from thestanford-corenlp
dependency, the issue persists.Log:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/Descargas%20Google/stanford-corenlp-4.5.4/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Manu/.m2/repository/ch/qos/logback/logback-classic/1.2.5/logback-classic-1.2.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
Steps to reproduce:
Attempted Resolutions:
slf4j-simple
from thestanford-corenlp
dependency inpom.xml
.slf4j-api
andlogback-classic
dependencies.slf4j-simple
.slf4j.properties
to manually specify the logger for SLF4J.None of the above solutions resolved the issue.
Environment:
Any assistance or insights regarding this issue would be highly appreciated.
The text was updated successfully, but these errors were encountered: