I'm not sure I'm in the right place, but I've been working on migrating from Log4j to Log4j 2 in a project I'm working on.
In the pom.xml, I removed the log4j dependencies and added the log4j compatibility API to hte dependencies. I think some of of the other dependencies I'm using may still be on log4j 1.2, but am not 100% certain of this. What I'm observing is that trying to add import org.apache.logging.logj4.x is frequently throwing errors related to ClassNotFoundException, and when attempt to build some of the services, I get amongst others, the following errors "StatusLogger Log4j2 could not find a logging implementation please add log4j-core to the classpath... " and "Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/logEvent" As mentioned above, log4j-core is listed as a dependency in the pom.xml file, so I can't imagine why the files wouldn't be found in the classpath. I've been following the instructions from https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html, and am struggling to find any information as to why the errors listed above might be caused. If anyone has any insight on this or how to potentially resolve it, I'd be extremely grateful. I think I've supplied all the relevant information, but if there's anything I'm missing I can easily look into it and provide whatever I find. Thanks, Alex