CodePudding user response:
What error message to all your configuration is not importantCodePudding user response:
Error starting ApplicationContext. To display the the conditions report re - run your application with 'debug' enabled.The 2021-02-02 18:24:53. 536 ERROR 2008 - [the main] O.S.B oot. SpringApplication: Application run failed
Org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'registerController: Unsatisfied dependency expressed through the field' accountService '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'accountServiceImpl: Unsatisfied dependency expressed through the field' registerMapper '; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'registerMapper defined in the file [H: \ xvideo \ 3214546 \ target \ classes \ com \ example \ erp \ dao \ registerMapper class] : the Invocation of the init method failed; Nested exception is Java. Lang. IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate are required
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor $AutowiredFieldElement. Inject (AutowiredAnnotationBeanPostProcessor. Java: 596) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. The annotation. InjectionMetadata. Inject (InjectionMetadata. Java: 90) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor. PostProcessProperties (AutowiredAnnotationBeanPostProcessor. Java: 374) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PopulateBean (AbstractAutowireCapableBeanFactory. Java: 1411) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 592) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 515) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. Lambda $doGetBean $0 (AbstractBeanFactory. Java: 320) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 222) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 318) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 199) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 849) ~ [spring - beans - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 877) ~ [spring - the context - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 549) ~ [spring - the context - 5.1.6. The jar: 5.1.6. RELEASE]
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. Refresh (ServletWebServerApplicationContext. Java: 142) ~ [spring - the boot - 2.1.4. The jar: 2.1.4. RELEASE]
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 775) [spring - the boot - 2.1.4. The jar: 2.1.4. RELEASE]
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 397) [spring - the boot - 2.1.4. The jar: 2.1.4. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 316) [spring - the boot - 2.1.4. The jar: 2.1.4. RELEASE]
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull