Kann keine Instanz von - Jackson konstruieren

Ich verwende Jackson und habe Probleme, wenn ich versuche, ein Objekt zu deserialisieren. Ich erhalte den folgenden Fehler:

com.fasterxml.jackson.databind.JsonMappingException: 
    Can not construct instance of net.MyAbstractClass, 
    problem: abstract types either need to be mapped to concrete types, 
        have custom deserializer, or be instantiated with additional type information

Ich habe Probleme mit dem Attribut:

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.WRAPPER_OBJECT, property = "@id")
@JsonSubTypes({ @JsonSubTypes.Type(value = MyAbstractClass.class, name = "MyAbstractClass") })
@ManyToOne
private MyAbstractClass object;

Könnte mir jemand helfen?

Antworten auf die Frage(2)

Ihre Antwort auf die Frage