Rookie, built springboot project, to achieve essentially the query, and then an error:
The 2019-11-13 16:19:26. 592 ERROR 14120 - [the main] O.S.B oot. SpringApplication: Application run failed
Org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'ITController: Unsatisfied dependency expressed through the field' itService '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'ITService: Unsatisfied dependency expressed through the field' itDao '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'ITDao defined in the file [E: \ IDEA project1 \ target \ classes \ com \ test \ first \ dao \ ITDao class] : Unsatisfied dependency expressed through the bean property' sqlSessionFactory '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'sqlSessionFactory defined in the class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration class] : Unsatisfied dependency expressed through method' sqlSessionFactory parameter 0; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'dataSource' defined in the class path resource [com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure class] : bean instantiation via the factory method failed; Nested exception is org. Springframework. Beans. BeanInstantiationException: Failed to instantiate [javax.mail. SQL. The DataSource] : the Factory method 'DataSource' threw the exception. Nested exception is Java. Lang. NoClassDefFoundError: org/springframework/boot/bind/RelaxedDataBinder
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor $AutowiredFieldElement. Inject (AutowiredAnnotationBeanPostProcessor. Java: 639) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. The annotation. InjectionMetadata. Inject (InjectionMetadata. Java: 116) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor. PostProcessProperties (AutowiredAnnotationBeanPostProcessor. Java: 397) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PopulateBean (AbstractAutowireCapableBeanFactory. Java: 1429) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 594) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 517) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. Lambda $doGetBean $0 (AbstractBeanFactory. Java: 323) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 222) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 321) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 202) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 879) ~ [spring - beans - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 878) ~ [spring - the context - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 550) ~ [spring - the context - 5.2.0. The jar: 5.2.0. RELEASE]
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. Refresh (ServletWebServerApplicationContext. Java: 141) ~ [spring - the boot - 2.2.0. The jar: 2.2.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 747) [spring - the boot - 2.2.0. The jar: 2.2.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 397) [spring - the boot - 2.2.0. The jar: 2.2.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 315) [spring - the boot - 2.2.0. The jar: 2.2.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1226) [spring - the boot - 2.2.0. The jar: 2.2.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1215) [spring - the boot - 2.2.0. The jar: 2.2.0. RELEASE]
At com. Test. First. The FirstApplication. Main (FirstApplication. Java: 14)/classes/: na
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull