Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError.
I was hitting the same problem when working with Apache tomcat . .
Solution Steps :
Hopes this will resolve your problem
Solution Steps :
- Backup your pom.xml somewhere.
- Go to your pom.xml and on the bottom tab and click "Dependency Hierarchy" tab.
- From there search for log4j-over-slf4j.
- Exclude all instances of this dependency (right click on the instance and "Exclude Maven Artifact"). After you have no more log4j-over-slf4j appearing save your POM and try to run the program.
- If it still doesn't work then undo the changes you just made and exclude all instances of slf4j-log4j12.
Hopes this will resolve your problem
Comments
Post a Comment