org.apache.log4j.LogManager
is a class from log4j library.
Please check whether you have this log4j.jar in your classpath (reference pom.xml/build.gradle) and if it's missing add it to dependencies, e.g.
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
P.S. If the dependency is already there and you run the application as a separate jar file you might need to make the dependecy available at runtime with e.g. shading. See answer here log4j2 java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
P.P.S. The idea is to include missing dependency into classpath of your application.