No MyBatis mapper was found in
import tk.mybatis.spring.annotation.MapperScan;
在mapper module 也有mapper文件
正在回答 回答被采纳积分+1
看你群里说已经解决,那就ok
INFO Application:50 - Starting Application on CNWS05259-01 with PID 6868 (C:\Users\bao.yang\idea-workspace\foodie-dev\foodie-dev-api\target\classes started by Bao.Yang in C:\Users\bao.yang\idea-workspace\foodie-dev)
INFO Application:675 - No active profile set, falling back to default profiles: default
WARN ClassPathMapperScanner:44 - No MyBatis mapper was found in '[com.imooc]' package. Please check your configuration.
INFO MapperCacheDisabler:60 - Clear tk.mybatis.mapper.util.MsUtil CLASS_CACHE cache.
INFO MapperCacheDisabler:60 - Clear tk.mybatis.mapper.genid.GenIdUtil CACHE cache.
INFO MapperCacheDisabler:60 - Clear tk.mybatis.mapper.version.VersionUtil CACHE cache.
INFO MapperCacheDisabler:83 - Clear EntityHelper entityTableMap cache.
INFO Application:59 - Started Application in 4.849 seconds (JVM running for 6.424)
Process finished with exit code 0
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星