課程
/后端開發(fā)
/Java
/SpringBoot+MyBatis搭建迷你小程序
我這個MapperScan注解為什么會報錯?我的包有問題還是什么問題?
2018-10-23
源自:SpringBoot+MyBatis搭建迷你小程序 3-3
正在回答
我的<mybatis:scan />這個節(jié)點在xml文件中報錯,我應該如何解決,求大神幫幫忙
import?org.mybatis.spring.annotation.MapperScan;
<dependency> ????<groupId>org.mybatis.spring.boot</groupId> ????<artifactId>mybatis-spring-boot-starter</artifactId> ????<version>1.3.2</version> </dependency>
pom添加以下兩個依賴 ?<dependency> ???<groupId>org.mybatis</groupId> ????<artifactId>mybatis</artifactId> ??<version>3.2.8</version> ?</dependency> <dependency> ?????<groupId>org.mybatis</groupId> ?????<artifactId>mybatis-spring</artifactId> ??<version>1.2.2</version> ?</dependency>
??????<!--?mybatis?-->22?????????<dependency>23?????????????<groupId>org.mybatis</groupId>24?????????????<artifactId>mybatis</artifactId>25?????????????<version>3.2.8</version>26?????????</dependency>27?????????<dependency>28?????????????<groupId>org.mybatis</groupId>29?????????????<artifactId>mybatis-spring</artifactId>30?????????????<version>1.2.2</version>31??????????</dependency>
你可能沒有導入吧?
舉報
SpringBoot+MyBatis搭建小程序后臺
2 回答mybatis-config 報錯怎么回事 求解答
1 回答dataSource注解報錯
2 回答@ResponseBody注解報錯
2 回答報這個異常!為什么?怎么解?
1 回答為什么我的client住的時候注冊報錯 檢查defalutzone沒錯呀
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關注慕課網(wǎng)微信公眾號
2018-12-03
我的<mybatis:scan />這個節(jié)點在xml文件中報錯,我應該如何解決,求大神幫幫忙
2018-12-01
2018-11-27
2018-11-27
2018-10-24
你可能沒有導入吧?