Closed dstenger closed 2 years ago
The reason for this is the slf4j-log4j12-1.7.6.jar library.
I can confirm that removing dependency slf4j-log4j12-1.7.6.jar solves the problem described in this issue. Also ets-kml22 is still working.
Issue was created in ets-kml22 repository: https://github.com/opengeospatial/ets-kml22/issues/30
@bpross-52n Could you please provide some more details why this library is breaking TEAM Engine? Afterwards, the issue can be closed.
With Teamengine 5.5-SNAPSHOT, there is a ClassNotFoundException: org.apache.log4j.Level. With Teamengine 5.4.1 another library is present: slf4j-jdk14-1.7.21.jar. This contains an implementation of the org.apache.log4j.Level.
Describe the bug When a TestNG test suite (e.g. ets-ogcapi-features10) is put into the same tomcat as the deps artifact of ets-kml22 (https://search.maven.org/remotecontent?filepath=org/opengis/cite/ets-kml22/1.14/ets-kml22-1.14-deps.zip), the execution of the TestNG test suite fails with error:
This error did not occur with TEAM Engine v5.4.1.
To Reproduce Steps to reproduce the behavior:
mvn clean install && docker run --rm -p 8081:8080 --name beta ogccite/teamengine-beta
Expected behavior It should be analyzed why this error is occurring now and was not occurring previously (v5.4.1). Afterwards, a fix either in TEAM Engine or ets-kml22 shall be implemented.