Hi,
Thanks for providing a wonderful framework for quick REST api development.
I am developing a REST web service using drop wizard that includes triggering a hive query in the backend. In order to do that, i have to include maven dependency "hive-jdbc" which brings along with it the "slf4j-log4j" maven artifact.
Since dropwizard comes with "log4j-over-slf4j" it errors out at server startup saying
"
Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError
."
Now the obvious thing to do is to exclude one of them. So I tried removing both artifacts (one by one) and I get same error when I remove either of them.
File attached is the complete stack trace.
At this point, I am quite confused and don't know how to move forward. Any help will be appreciated.
Thanks,
Vishvesh