Let me talk about the environment, IDEA+Gradle project
@Data
public class QueryPojo {
private String idCard;
private String cardTypeName;
private String courseName;
private String beginTime;
private String endTime;
private Integer page;
private Integer limit;
}
The entity class does not report any errors.
But when the project is running, the package cannot find the get method.
Solution:
Tick this to solve the problem. The cause of this problem is very strange, and it seems to be related to the IDEA plug-in configuration.
The host has encountered it twice, and I will record it here, hoping to help other students, cheer together, and study hard.