Home > Back-end >  For spring projects Error Error creating bean with the name 'requestMappingHandlerAdapter defin
For spring projects Error Error creating bean with the name 'requestMappingHandlerAdapter defin

Time:09-20

Org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'requestMappingHandlerAdapter defined in the class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration $EnableWebMvcConfiguration class] : Unsatisfied dependency expressed through method' requestMappingHandlerAdapter parameter 1; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'mvcConversionService defined in the class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration $EnableWebMvcConfiguration class] : bean instantiation via the factory method failed; Nested exception is org. Springframework. Beans. BeanInstantiationException: Failed to instantiate [org. Springframework. Format. Support. FormattingConversionService] : the Factory method 'mvcConversionService threw the exception. Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'userdao defined in the ZHX. Secondhand. Dao. Userdao defined in @ EnableJpaRepositories declared on JpaRepositoriesRegistrar. EnableJpaRepositoriesConfiguration: always resolve a reference to the bean' jpaMappingContext while setting the bean property 'mappingContext'; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'jpaMappingContext' : the Invocation of the init method failed; Nested exception is javax.mail. Persistence. PersistenceException: [PersistenceUnit: default] Unable to build a Hibernate SessionFactory. Nested exception is org. Hibernate. MappingException: Repeated column in the mapping for the entity: com. ZHX. Secondhand. Config. The order column: userid (should be mapped with insert="false" update="false")
The at org. Springframework. Beans. Factory. Support. ConstructorResolver. CreateArgumentArray (ConstructorResolver. Java: 798) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. ConstructorResolver. InstantiateUsingFactoryMethod (ConstructorResolver. Java: 539) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. InstantiateUsingFactoryMethod (AbstractAutowireCapableBeanFactory. Java: 1338) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBeanInstance (AbstractAutowireCapableBeanFactory. Java: 1177) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 557) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 517) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. Lambda $doGetBean $0 (AbstractBeanFactory. Java: 323) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 226) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 321) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 202) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 895) ~ [spring - beans - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 878) ~ [spring - the context - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 550) ~ [spring - the context - 5.2.6. The jar: 5.2.6. RELEASE]
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. Refresh (ServletWebServerApplicationContext. Java: 143) ~ [spring - the boot - 2.3.0. The jar: 2.3.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 758) ~ [spring - the boot - 2.3.0. The jar: 2.3.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 750) ~ [spring - the boot - 2.3.0. The jar: 2.3.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 397) ~ [spring - the boot - 2.3.0. The jar: 2.3.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 315) ~ [spring - the boot - 2.3.0. The jar: 2.3.0. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1237) ~ [spring - the boot - 2.3.0. The jar: 2.3.0. RELEASE]
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related