txlcn-demo icon indicating copy to clipboard operation
txlcn-demo copied to clipboard

客户端采用.yml配置报错

Open wuyhVputin opened this issue 6 years ago • 0 comments

2019-04-19 11:04:29.964 ERROR 32552 --- [ main] o.s.boot.SpringApplication : Application startup failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberController': Unsatisfied dependency expressed through field 'shareResultsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shareResultsService' defined in file [F:\springCloud\services\sw-member-service\target\classes\cn\ehanghai\cloud\service\member\service\ShareResultsService.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transactionAspect' defined in URL [jar:file:/C:/Users/mo/.m2/repository/com/codingapi/txlcn/txlcn-tc/5.0.2.RELEASE/txlcn-tc-5.0.2.RELEASE.jar!/com/codingapi/txlcn/tc/aspect/TransactionAspect.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'DTXLogicWeaver' defined in URL [jar:file:/C:/Users/mo/.m2/repository/com/codingapi/txlcn/txlcn-tc/5.0.2.RELEASE/txlcn-tc-5.0.2.RELEASE.jar!/com/codingapi/txlcn/tc/aspect/weave/DTXLogicWeaver.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'DTXServiceExecutor' defined in URL [jar:file:/C:/Users/mo/.m2/repository/com/codingapi/txlcn/txlcn-tc/5.0.2.RELEASE/txlcn-tc-5.0.2.RELEASE.jar!/com/codingapi/txlcn/tc/core/DTXServiceExecutor.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultGlobalContext' defined in URL [jar:file:/C:/Users/mo/.m2/repository/com/codingapi/txlcn/txlcn-tc/5.0.2.RELEASE/txlcn-tc-5.0.2.RELEASE.jar!/com/codingapi/txlcn/tc/core/context/DefaultGlobalContext.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'java.util.List<com.codingapi.txlcn.tc.core.transaction.txc.analy.def.PrimaryKeysProvider>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=false)}

wuyhVputin avatar Apr 19 '19 03:04 wuyhVputin