After introducing mybatisplus, the user-defined method is used to solve the invalid bound statement (not found) error

I tried all the methods on the Internet, but they didn’t work.

Finally, I took a look at the. YML configuration file,

mybatis-plus:
  mapper-locations: classpath:mappers/*Mapper.xml
  type-aliases-package: com.xxxxx.entity

  

Here I wrote mybatis: XXXXXX

When I used tkmapper before, there was no problem with writing this here.

 

If you use mybatis plus, write the configuration of mybatis plus here. The problem is solved

Similar Posts: