Log4j ThreadContext.clear() not available with auto-complete?

Viewed 174

according to the Log4j documentation I can call

ThreadContext.clear();

but in my IDE I do not get clear() as an available method and I also get compilation errors, I only see clearAll(), etc., why? What is missing on the classpath?

Log4j Version 2.16.0 is used.

enter image description here

1 Answers
Related