Home > front end >  Springboot package after all the server cannot be started at some point, the great spirit guide genu
Springboot package after all the server cannot be started at some point, the great spirit guide genu

Time:09-23

Error message:
During the context initialization - cancelling refresh attempt: org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'objectMapperConfigurer defined in the class path resource [springfox/documentation/spring/web/SpringfoxWebMvcConfiguration class] : BeanPostProcessor before instantiation of bean failed; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'authorizationAttributeSourceAdvisor defined in the class path resource [com/CMCC/framework/config/ShiroConfig class] : Unsatisfied dependency expressed through method' authorizationAttributeSourceAdvisor parameter 0; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'shiroFilterFactoryBean defined in the class path resource [com/CMCC/framework/config/ShiroConfig class] : Unsatisfied dependency expressed through method' shiroFilterFactoryBean parameter 0; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'securityManager defined in the class path resource [com/CMCC/framework/config/ShiroConfig class] : Unsatisfied dependency expressed through method' securityManager parameter 0; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'userRealm: Unsatisfied dependency expressed through the field' menuService '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'menuServiceImpl: Unsatisfied dependency expressed through the field' menuMapper '; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'menuMapper defined in the URL [jar: file:/data/app/CMCC/CMCC_CX jar!/BOOT - INF/classes!/com/CMCC/project/system/menu/mapper/menuMapper class] : always resolve a reference to the bean' sqlSessionTemplatePrimary while setting the bean property 'sqlSessionTemplate'; Nested exception is org. Springframework. Beans. Factory. NoSuchBeanDefinitionException: No bean named 'sqlSessionTemplatePrimary available
08:43:12. 742 ERROR [main] O.S.B.D.L oggingFailureAnalysisReporter - [report, 42] -

* * * * * * * * * * * * * * * * * * * * * * * * * * *
The APPLICATION FAILED TO START
* * * * * * * * * * * * * * * * * * * * * * * * * * *

Description:

Field menuMapper in com. CMCC. Project. System. Menu. Service. MenuServiceImpl required a bean named 'sqlSessionTemplatePrimary' that could not be found.

The injection point has The following annotations:
- the @ org. Springframework. Beans. Factory. The annotation. The Qualifier (value=https://bbs.csdn.net/topics/securityManager)


Action:

Consider defining a bean named 'sqlSessionTemplatePrimary' in your configuration.

Detailed link in log in here: https://mp.csdn.net/console/editor/html/105572466

CodePudding user response:

Just restart or not, the same code, nothing to recompile the package, launch and launch a success, is really drunk! How can so magic???????

CodePudding user response:

  • Related