Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caused by: org.springframework.beans.FatalBeanException: Cannot load class null. #7

Open
archerForzmy opened this issue Jul 21, 2019 · 1 comment

Comments

@archerForzmy
Copy link

Caused by: org.springframework.beans.FatalBeanException: Cannot load class null.
at org.bytesoft.bytetcc.supports.dubbo.internal.CompensableBeanConfigValidator.validateReferenceBean(CompensableBeanConfigValidator.java:204) ~[bytetcc-supports-dubbo-0.5.3.jar:na]
at org.bytesoft.bytetcc.supports.dubbo.internal.CompensableBeanConfigValidator.postProcessAfterInitialization(CompensableBeanConfigValidator.java:258) ~[bytetcc-supports-dubbo-0.5.3.jar:na]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:431) ~[spring-beans-5.0.9.RELEASE.jar:5.0.9.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1703) ~[spring-beans-5.0.9.RELEASE.jar:5.0.9.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:573) ~[spring-beans-5.0.9.RELEASE.jar:5.0.9.RELEASE]
... 15 common frames omitted

@archerForzmy
Copy link
Author

问题在这个类中
https://github.com/liuyangming/ByteTCC-sample/blob/master/dubbo-sample/sample-consumer/src/main/java/com/bytesvc/service/impl/GenericTransferServiceImpl.java

如果去掉
@com.alibaba.dubbo.config.annotation.Reference(interfaceClass = IAccountService.class, group = "x-bytetcc", filter = "bytetcc", loadbalance = "bytetcc", cluster = "failfast", retries = -1)
就不报错了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant