{"action":"closed","issue":{"url":"https://api.github.com/repos/json4s/json4s/issues/320","labels_url":"https://api.github.com/repos/json4s/json4s/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/json4s/json4s/issues/320/comments","events_url":"https://api.github.com/repos/json4s/json4s/issues/320/events","html_url":"https://github.com/json4s/json4s/issues/320","id":119438378,"number":320,"title":"json4s-jackson 3.3.0 doesn't work in a Spark 1.5.1 application (Scala 2.11.7)","user":{"login":"manuelkiessling","id":206592,"avatar_url":"https://avatars.githubusercontent.com/u/206592?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelkiessling","html_url":"https://github.com/manuelkiessling","followers_url":"https://api.github.com/users/manuelkiessling/followers","following_url":"https://api.github.com/users/manuelkiessling/following{/other_user}","gists_url":"https://api.github.com/users/manuelkiessling/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelkiessling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelkiessling/subscriptions","organizations_url":"https://api.github.com/users/manuelkiessling/orgs","repos_url":"https://api.github.com/users/manuelkiessling/repos","events_url":"https://api.github.com/users/manuelkiessling/events{/privacy}","received_events_url":"https://api.github.com/users/manuelkiessling/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T07:59:14Z","updated_at":"2015-11-30T08:06:01Z","closed_at":"2015-11-30T08:06:01Z","body":"I've written a small Spark application (see https://github.com/journeymonitor/analyze/blob/master/spark/src/main/scala/SparkApp.scala) which compiles against Scala 2.11.7 and runs within Spark 1.5.1. I'm using Oracle JDK 1.7.0_79-b15 on Mac OS X 10.11.1.\r\n\r\nI was previously using json4s-native 3.3.0 without problems, but when switching to json4s-jackson 3.3.0, my tests fail with:\r\n\r\n    java.lang.VerifyError:\r\n    class com.fasterxml.jackson.module.scala.ser.ScalaIteratorSerializer overrides\r\n    final method withResolved.(\r\n        Lcom/fasterxml/jackson/databind/BeanProperty;\r\n        Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;\r\n        Lcom/fasterxml/jackson/databind/JsonSerializer;)\r\n        Lcom/fasterxml/jackson/databind/ser/std/AsArraySerializerBase;\r\n    at java.lang.ClassLoader.defineClass1(Native Method)\r\n    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)\r\n    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)\r\n    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)\r\n    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\n    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\n    at java.security.AccessController.doPrivileged(Native Method)\r\n    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\n    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)\r\n\r\nSwitching to json4s-jackson 3.2.10 solves this problem."}}