Home > Back-end >  Project operation error after packaging
Project operation error after packaging

Time:09-26

The 15:33:32 2020-05-08. 7912-076 WARN [restartedMain] ConfigServletWebServerApplicationContext: Exception encountered during the context initialization - cancelling refresh attempt: org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'controllerOrder: Unsatisfied dependency expressed through field' serviceInter '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'order_Serviceimpl: Unsatisfied dependency expressed through the field' queryMapper '; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'queryMapper defined in the file [D: \ else \ target \ classes \ com \ wangshilong \ mapper \ queryMapper class] : the Invocation of the init method failed; Nested exception is Java. Lang. IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate are required
The 15:33:32 2020-05-08. 7912-084 the INFO/restartedMain o.a pache, catalina. Core. StandardService: Stopping the service (Tomcat)
The 2020-05-08 15:33:32. 7912-124 the INFO/restartedMain ConditionEvaluationReportLoggingListener:

Error starting ApplicationContext. To display the the conditions report re - run your application with 'debug' enabled.
The 2020-05-08 15:33:32. 143 ERROR 7912 - [restartedMain] O.S.B oot. SpringApplication: Application run failed

Org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'controllerOrder: Unsatisfied dependency expressed through the field' serviceInter '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'order_Serviceimpl: Unsatisfied dependency expressed through the field' queryMapper '; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'queryMapper defined in the file [D: \ else \ target \ classes \ com \ wangshilong \ mapper \ queryMapper 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: 643) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. The annotation. InjectionMetadata. Inject (InjectionMetadata. Java: 130) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor. PostProcessProperties (AutowiredAnnotationBeanPostProcessor. Java: 399) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PopulateBean (AbstractAutowireCapableBeanFactory. Java: 1422) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 594) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 517) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. Lambda $doGetBean $0 (AbstractBeanFactory. Java: 323) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 222) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 321) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 202) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 879) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 878) ~ [spring - the context - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 550) ~ [spring - the context - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. Refresh (ServletWebServerApplicationContext. Java: 141) ~ [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 747) [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 397) [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related