The reason is that the import annotation calls a parameterless constructor, while my user class does not have a parameterless constructor, so an error is reported.
Problem solved after adding.
The reason is that the import annotation calls a parameterless constructor, while my user class does not have a parameterless constructor, so an error is reported.
Problem solved after adding.