I am trying to run a simple spark example in intellij, but I get the error like that:
Exception in thread \"main\" java.lang.ExceptionInInitializerError at o
FYI. For my case, I'm using spark and kafka-streams in the app, while kafka-streams uses com.fasterxml.jackson.core 2.8.5. Adding exclude as below fixed the issue
kafka-streams
exclude
(gradle)
compile (group: "org.apache.kafka", name: "kafka-streams", version: "0.11.0.0"){ exclude group:"com.fasterxml.jackson.core" }