springboot整合mybatis报错记录

1、No MyBatis mapper was found in '[com.hxf.fastmybatis.mapper]' package. Please check your configuration

 

 

2、Public Key Retrieval is not allowed

在我们使用MySQL8.0的,连接数据库会存在一定的问题。当提示:Public Key Retrieval is not allowed 错误的时候,我们可以在连接数据库的配置文件中加上  allowPublicKeyRetrieval=true  就可以了

posted @ 2022-04-09 22:02  aaacarrot  阅读(191)  评论(0编辑  收藏  举报