求大神指导SpringBoot + Mybatis-Plus 报错org.apache.ibatis.binding.BindingException: 自定义的语句可以执行,MP自带的方法无法执行

yml配置:
mybatis-plus:
  mapper-locations: classpath*:mappers/**/*.xml
  type-aliases-package: com.liang.demo.entity
  configuration:
    map-underscore-to-camel-case: true
  global-config:
    db-config:
      db-type: MYSQL
      id-type: 0
jar包:

   com.baomidou
   mybatis-plus-boot-starter
   3.0.6

启动类:

@SpringBootApplication
@EnableTransactionManagement
@MapperScan(value = {"com.liang.demo.mapper.**"})
public class DemoApplication {

   public static void main(String[] args) {
      SpringApplication.run(DemoApplication.class, args);
   }

}

 

 

 

你可能感兴趣的:(求大神指导SpringBoot + Mybatis-Plus 报错org.apache.ibatis.binding.BindingException: 自定义的语句可以执行,MP自带的方法无法执行)