Hi Ben, You only need to have one. I'd check my dependencies.
- Nasir On Tue, Mar 28, 2017 at 8:52 AM, Bah Herve kouakou <herveb...@gmail.com> wrote: > SLF4J: Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the > class path, preempting StackOverflowError. > SLF4J: See also http://www.slf4j.org/codes.html#log4jDelegationLoop for > more details. > Exception in thread "main" java.lang.ExceptionInInitializerError > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:264) > at org.slf4j.impl.Log4jLoggerFactory.<clinit>( > Log4jLoggerFactory.java:48) > at org.slf4j.impl.StaticLoggerBinder.<init>( > StaticLoggerBinder.java:72) > at org.slf4j.impl.StaticLoggerBinder.<clinit>( > StaticLoggerBinder.java:45) > at org.apache.spark.internal.Logging$class.initializeLogging(Logging. > scala:111) > at org.apache.spark.internal.Logging$class.initializeLogIfNecessary( > Logging.scala:102) > at org.apache.spark.SparkContext.initializeLogIfNecessary( > SparkContext.scala:73) > at org.apache.spark.internal.Logging$class.log(Logging.scala:46) > at org.apache.spark.SparkContext.log(SparkContext.scala:73) > at org.apache.spark.internal.Logging$class.logInfo(Logging.scala:54) > at org.apache.spark.SparkContext.logInfo(SparkContext.scala:73) > at org.apache.spark.SparkContext.<init>(SparkContext.scala:184) > at org.apache.spark.api.java.JavaSparkContext.<init>( > JavaSparkContext.scala:58) > at testerconn.ection.App.main(App.java:28) > Caused by: java.lang.IllegalStateException: Detected both > log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting > StackOverflowError. See also http://www.slf4j.org/codes. > html#log4jDelegationLoop for more details. > at org.apache.log4j.Log4jLoggerFactory.<clinit>( > Log4jLoggerFactory.java:51) > ... 15 more > > -- > You received this message because you are subscribed to the Google Groups > "dropwizard-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dropwizard-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "dropwizard-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.