今天连接数据库时出现了一个小的错误,但经过了一晚上的百度才得以解决
问题截图:
解决方法:
在yml文件中加入
mybatis:
mapper-locations: classpath:mapper/*Mapper.xml
configuration:
map-underscore-to-camel-case: true
type-aliases-package: com.example.play.model
ok,问题解决

今天连接数据库时出现了一个小的错误,但经过了一晚上的百度才得以解决
问题截图:
解决方法:
在yml文件中加入
mybatis:
mapper-locations: classpath:mapper/*Mapper.xml
configuration:
map-underscore-to-camel-case: true
type-aliases-package: com.example.play.model
ok,问题解决