Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot-MybatisPlus-Practise

Problems and solutions

  1. Invalid bean definition with name ‘xxxxMapper’ defined in file [xxxx.class]
    • Check and match the version of mybatis and springboot.
  2. PaginationInnerInterceptor not found.
  3. Inserfill or updatefill doesn't work.
    • Check if the column name matches the entity class. (for example, "createTime" in class != "create_time" in DB). Use 'value = "(column name)"' in the annotation to match the column.
    • Also have to check the handler's parameter, should be the same as it is in the entity.
    • Check if the entity attribute is a basic type. For a basic type, its default value is 0, which will not be changed by the handler. If it is, change them to the class type. (long -> Long).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages