java.lang.IllegalArgumentException: At least one base package must be specified

来源:3-6 dao层开发

慕仙6193504

2019-06-18 19:45

at org.springframework.util.Assert.notEmpty(Assert.java:372) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:272) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.mybatis.spring.mapper.ClassPathMapperScanner.doScan(ClassPathMapperScanner.java:168) ~[mybatis-spring-2.0.1.jar:2.0.1]

at org.mybatis.spring.annotation.MapperScannerRegistrar.registerBeanDefinitions(MapperScannerRegistrar.java:123) ~[mybatis-spring-2.0.1.jar:2.0.1]

at org.mybatis.spring.annotation.MapperScannerRegistrar.registerBeanDefinitions(MapperScannerRegistrar.java:72) ~[mybatis-spring-2.0.1.jar:2.0.1]

at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:364) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:na]


写回答 关注

1回答

SpringBoot+MyBatis搭建迷你小程序

SpringBoot+MyBatis搭建小程序后台

91500 学习 · 621 问题

查看课程

相似问题