networknt / json-schema-validator

A fast Java JSON schema validator that supports draft V4, V6, V7, V2019-09 and V2020-12
Apache License 2.0
807 stars 320 forks source link

JsonNode.canConvertToExactIntegral NoSuchMethodError with current jackson-databind 2.16.2 #987

Closed sonymaster closed 4 months ago

sonymaster commented 4 months ago

Hallo team, after updating our jackson-databind library to version 2.16.2 the min-/maxLength properties in json schema file dosn't work anymore, because the method has been removed. The Jackson libraries are used by many other frameworks and we are not able to downgrade. Are there any plans to migrate json-schema-validator to current jackson-databind version?

stevehu commented 4 months ago

Do you know any replacement methods? Or upgrade document link? Thanks.

sonymaster commented 4 months ago

Sorry! After researching the version where the method was removed, I couldn't find it. There was a classloader problem in our environment, so an old Jackson version was used. Also in the development environment the wrong version was always used. I apologize again!