1.bean of type ‘com.rh.dao.UserMapper’ that could not be found。 解决方法:https://blog.csdn.net/a600849155/article/details/81189412?utm_source=blogxgwz1 给dao层文件添加 @Mapper 注解。
2.Could not resolve type alias ‘com.kfc.entity.ClientServer’ 这个错误,是我的mpper.xml映射文件中,引用的实体类路径错误导致的,修改下xml映射文件就好了。
3.The server time zone value ‘�й���ʱ��’ is unrecognized 在application.yml文件中配置mysqlurl的地方,加serverTimezone=UTC
jdbc
:mysql
://127.0.0.1
:3306/xxxx
?useUnicode=true
&characterEncoding=UTF
-8
&serverTimezone=UTC