關於@Mapper cannot be resolved to a type無法使用的類似問題。

今天在搭建springBoot項目的時候,再寫Mapper層接口的時候使用@mapper註解報錯, 原因:Mapper cannot be resolved to a type 於是我查看了一下@mapper註解的包,對應的是在當前項目pom.xml文件中,引入springBoot和myBatis整合的 mybatis-spring-boot-starter, 再查看一下mybatis-sprin
相關文章
相關標籤/搜索