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

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