Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upScalaIteratorSerializer overrides final method withResolved #214
Comments
|
@ryantenney Bit tough call here; method is being deprecated, replaced by new variant:
and So: the real fix is to change override to match new variant. |
|
I don't think there is a need to remove |
|
Thanks. These are tricky changes, and Scala module is one of modules that require deep(er) integration than most. XML dataformat is similarly fragile by necessity. FWIW, this specific change is to allow use of new |
|
This has been fixed in 2.6.0-rc4. IMPORTANT NOTE: Version 2.6.0 was incorrectly released and should not be used. An updated release will be available as soon as possible. |
|
i am using 2.6.1 and still getting this error |
|
@anujlal01 Make sure you do not have multiple versions of scala module in your classpath. |
|
i have checked all dependency |
|
sorry, this error comes when i am using 2.6.1 version not when i ma using 2.4.4 |
|
when i switched to 1.6.1, I am getting java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.JavaType.isReferenceType()Z Exception in thread "main" java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.JavaType.isReferenceType()Z My pom dependency is like this |
|
never mind. this was false alarm. |
|
I ran into the same problem and found that I was not using the same version of the java and scala module: com.fasterxml.jackson.core:jackson-databind Using the same version fixes it for me. |
|
@phrinx This helped me too. Thanks. Here's how my gradle configuration looks like: |
|
@phrinx Thanks~~~This helped me tooo0! Issue fixed! |
|
@phrinx That helped me as well. Thanks a ton. "com.datastax.spark" %% "spark-cassandra-connector-unshaded" % "2.0.0-M3", |
A change introduced in jackson-databind 2.6.0-rc3 breaks jackson-module scala
with the error (edited for ease of reading)
class ScalaIteratorSerializer overrides final method withResolved(BeanProperty;TypeSerializer;JsonSerializer;)AsArraySerializerBase;. Would a better option be to make that method non-final so all modules which use it don't break?FasterXML/jackson-databind@9ed3abf#diff-1a6d4c0e2d1a53346aa8b087ecddbec2R138