 Description: Field courseMapper in com.ztt.bootest.service.impl.CourseServiceImpl required a bean of type 'com.ztt.bootest.mapper.CourseMapper' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true) Action: Consider defining a bean of type 'com.ztt.bootest.mapper.CourseMapper' in your configuration. 以上是我的报错信息, 这是我的xml spring.application.name=BootTest server.port=8082 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/ktp_db?autoReconnect=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8 spring.datasource.username=root spring.datasource.password=123456 mybatis.mapper-locations=classpath:mapper/*Mapper.xml mybatis.type-aliases-package=com.ztt.bootest.entity spring.thymeleaf.check-template=false spring.thymeleaf.check-template-location=false mybatis.configuration.map-underscore-to-camel-case=true 这是我的application.properties 这是我自写的一个MyBatis+SpringBoot项目,不知道为什么运行不了,csdn上面的方法我试过了,都解决不了,总感觉是自己哪步比较关键的步骤弄错了,但是自己发现不了 希望哪位大佬帮我发现一下我的错误