Error:
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.xxx.AAA` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value
Solution:
Add null parameter constructor to the entity :
public AAA() { }
Similar Posts:
- Postman passing Josn field error: Cannot deserialize instance of `java.util.ArrayList` out of VALUE_STRING token
- Springboot is compatible with jackson.databind and reports errors [How to Solve]
- [Solved] com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field “FileSi…
- @Jsonignoreproperties does not work [How to Solve]
- [Solved] com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10)): ha
- com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class tonels.
- [Solved] Interpreter error /com.fasterxml.jackson.databind.JavaType
- [How to Solve] jackson not marked as ignorable
- [Solved] swagger Document Error: For input string: “”
- [Solved] Java Call Error: java.lang.IllegalArgumentException: wrong number of arguments