error
Error creating bean with name 'transactionManager' defined in class path resource [spring-dao.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required
Reason: when matching things, there is no injected value
error code
Solution: inject value into him
Correct code
Similar Posts:
- [Solved] Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘custom.property.hello’ in value “${custom.property.hello}” config
- Property ‘dataSource’ threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy
- mybatis: Property ‘configuration’ and ‘configLocation’ can not specified with together
- [Solved] Spring Boot Error: “jdbcUrl is required with driverClassName.”
- [Solved] Spring introduces the properties variable Error: org.springframework.beans.TypeMismatchException…
- [Solved] Dependency injection exception: org.springframework.beans.factory.UnsatisfiedDependencyException
- [Solved] Error creating bean with name ‘orderController’: Unsatisfied dependency expressed through field ‘orderService’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
- [Solved] java.lang.ClassNotFoundException: org.apache.log4j.Logger
- MappedBy reference an unknown target entity property [How to Solve]
- [Solved] Error creating bean with name ‘xxxxController’: Unsatisfied dependency expressed through field ‘xxxxService’;