first build issue: Building webanno-io-tsv, caused by slf4j-log4j12 (the very
old log4j).

I see the webanno pom has two "excludes" for slf4j-log4j12.
But running dependency:tree on webanno-io-tsv shows
...dkpro.core:...testing-asl has this dependency.  May I exclude it?

More details below:

test failure,
Caused by: java.lang.IllegalStateException: Detected both log4j-over-slf4j.jar
AND bound slf4j-log4j12.jar on the class path, preempting StackOverflowError.
See also http://www.slf4j.org/codes.html#log4jDelegationLoop for more details.
        at
de.tudarmstadt.ukp.clarin.webanno.tsv.internal.tsv3x.Tsv3XSchemaAnalyzerTest.testAnalyze(Tsv3XSchemaAnalyzerTest.java:33)

The manual for slf4j says:


        log4j-over-slf4j.jar and slf4j-log4j12.jar cannot be present 
simultaneously

The presence of /slf4j-log4j12.jar/, that is the log4j binding for SLF4J, will
force all SLF4J calls to be delegated to log4j. The presence
of /log4j-over-slf4j.jar/ will in turn delegate all log4j API calls to their
SLF4J equivalents. If both are present simultaneously, slf4j calls will be
delegated to log4j, and log4j calls redirected to SLF4j, resulting in an endless
loop <https://www.slf4j.org/codes.html#log4jDelegationLoop>.

Reply via email to