Error Description:
An error occurred during the operation of Maven + SSM project:
A org.springframework.beans . factory.UnsatisfiedDependencyException : error creating bean with name ‘logincontroller’: unsatisfied dependency expressed through field ‘imemberfunction’; as shown in the figure:
Cause of error:
(1) Annotation scanning is not enabled;
(2) the package path of annotation scanning is not set.
resolvent:
(1) In spring- mvc.xml In the configuration file
<mvc:annotation-driven />
(2) In spring- mvc.xml In the configuration file
<context:component-scan base-package="com.bigname.demo03.*" />
Read More:
- How to Solve creating bean with name ‘mappingjackson2httpmessageconverter’ error when elasticsearch advanced client starts‘
- [Solved] renren-fast Startup Error: Error creating bean with name ‘scheduleJobController‘
- [Solved] Error creating bean with name rController‘: Unsatisfied dependency expressed through field
- Eureka unit test error creating bean with name ‘Eureka autoservice registration’: Singleton bean
- [Solved] UnsatisfiedDependencyException: Error creating bean with name
- [Solved] springmvc:Error creating bean with name ‘org.springframework.cache.interceptor.CacheInterceptor
- Error creating bean with name ‘studentMapper‘ defined in file
- [Solved] nacos Startup Error: Error creating bean with name ‘authFilterRegistration‘ defined in class path resource
- [Solved] Redis Error: Error creating bean with name stringRedisTemplate defined in class path resource
- [Solved] Springboot Error creating bean with name ‘dataSource’ defined in class path resource
- [Solved] org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource‘
- Error creating bean with name ‘captchaController‘: Unsatisfied dependency expressed through field ‘c
- [Solved] JWT + SSO Error: Error creating bean with name ‘jwtTokenServices’
- Tk.mapper Common mapper Error: Error creating bean with name ‘commonMapper‘ defined in file xxx
- [Solved] Error creating bean with name ‘sqlSessionFactory‘ defined in class path resource
- SpringBoot Access Clickhouse Error: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘jdbcConverter’ defined in class path resource [***.class]
- Spring cloud Eureka error creating bean with name
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘globalTransa
- Error creating bean with name ‘redistemplate’ defined in class path resource
- Eclipse Tomcat Error creating bean with name ‘sqlSessionFactory’ defined in URL…