java.lang.IllegalArgumentException: Class jackson.test.JacksonParent not subtype of [simple type, class jackson.test.JacksonChild]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by cshannon
, 1 year ago
Class jackson.test.JacksonParent not subtype of [simple type, class jackson.test.JacksonChild]
via GitHub by cshannon
, 1 year ago
Class jackson.test.JacksonParent not subtype of [simple type, class jackson.test.JacksonChild]
via GitHub by pkwarren
, 1 year ago
Class Test$DefaultFactory not subtype of [simple type, class Test$SimpleFactory]
via GitHub by j1234d2003
, 9 months ago
Class com.example.CTestTypeId$CBaseClass not subtype of [simple type, class com.example.CTestTypeId$CDerivedClass]
via GitHub by cemo
, 2 years ago
Class java.lang.Class not subtype of [simple type, class com.fasterxml.jackson.support.HttpCookieDemo]
via Stack Overflow by user340535
, 2 years ago
Class java.lang.Class not subtype of [simple type, class mypackage.OrganisationalItem]
java.lang.IllegalArgumentException: Class jackson.test.JacksonParent not subtype of [simple type, class jackson.test.JacksonChild]
at com.fasterxml.jackson.databind.type.TypeFactory.constructSpecializedType(TypeFactory.java:359)
at com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder.buildTypeDeserializer(StdTypeResolverBuilder.java:118)
at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findTypeDeserializer(BasicDeserializerFactory.java:1363)
at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:481)
at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3890)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3785)
at jackson.test.BrokenJackson.test(BrokenJackson.java:16)

Users with the same issue

Once, 5 months ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.