报错:
解决:
mybatis映射配置
# application.yml写法
mapper-locations: classpath:mapper/*Mapper.xml
type-aliases-package: com.example.demo2.pojo
#application.properties写法
mybatis.mapper-locations=classpath:mapper/*Mapper.xml
mybatis.type-handlers-package=com.example.demo2.pojo