Springboot error

According to the website with @ Service annotations and @ MapperScan annotations and @ ComponentScan error
CodePudding user response:
If the mapper you see if you were at the class scanned @ MapperScan (cn. Anjun. Admin. "mapper")Or the corresponding XML configuration file path is wrong
CodePudding user response:
Is scanned, and the corresponding XML file feeling also have no wrongCodePudding user response:
I also appears the question, brother of interpretationCodePudding user response:
Add a configuration, specify the mapper class package, and the location of the XML file:
Mybatis. Type - aliases - package: com. Nice. Mapper
Mybatis mapper - locations: the classpath: mapper/* mapper XML