原因:SpringBoot的配置文件中关于mybatis映射文件的配置写错
Error starting ApplicationContext. To display the auto-configuration report re-run your application with ‘debug’ enabled.
2020-12-21 22:47:04.341 ERROR 14612 — [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘baseAttrInfoMapper’ defined in file [Q:\javaWordSpace\ZhuoYueDianShang\zhuyue-parent\zhuoyue-manage-service\target\classes\com\icis\mapper\BaseAttrInfoMapper.class]: Unsatisfied dependency expressed through bean property ‘sqlSessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource
正确写法: