After verifying parameters with validation, springboot reports an error: no constructor found in package name + class name

when querying after EO has added Validation Validation parameters, “No constructor found in…” The problem of

online baidu, is the construction method caused by the exception

but I’m going to add Validation and error

reason:

raw data does not conform to the validation rules, or @notempty

delete garbage data &amp in the library; When the validation rule is modified, it is correct

 


Read More: