java.lang.IllegalArgumentException

Class Test$DefaultFactory not subtype of [simple type, class Test$SimpleFactory]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21442

  • Class Test$DefaultFactory not subtype of [simple type, class Test$SimpleFactory]
  • Class java.lang.Class not subtype of [simple type, class com.fasterxml.jackson.support.HttpCookieDemo]
  • Class org.redisson.codec.SerializationCodec not subtype of [simple type, class org.redisson.client.codec.Codec]
  • Stack trace

    • java.lang.IllegalArgumentException: Class Test$DefaultFactory not subtype of [simple type, class Test$SimpleFactory] 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 com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2833) at Test.main(Test.java:27)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago