codingapi / txlcn-demo

txlcn-demo
120 stars 128 forks source link

客户端采用.yml配置报错 #12

Open wuyhVputin opened 5 years ago

wuyhVputin commented 5 years ago

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' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=false)}