You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a simple program that tests the ParameterNamesModule in java 8, jackson version 2.9.7. Unfortunately I receive the error "Cannot construct instance of Main$Track (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator).
This same example works fine when manually annotating the constructor with @JsonCreator, and parameters with @JsonParameter.
I created a simple program that tests the
ParameterNamesModule
in java 8, jackson version 2.9.7. Unfortunately I receive the error "Cannot construct instance ofMain$Track
(no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator).This same example works fine when manually annotating the constructor with
@JsonCreator
, and parameters with@JsonParameter
.Is the module not being registered? Or am I not using ParamNamesModule correctly?
The text was updated successfully, but these errors were encountered: