dxlance11 commented on issue #7361: URL: https://github.com/apache/incubator-seata/issues/7361#issuecomment-2908990617
> > 同问,似乎只有raft集群模式可以实现 > > 有试验过吗? 试了,可以部署成功,但是客户端注册一直有问题,我没找到原因,seata文档万年不更新,云原生支持也比较差。 Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2025-05-26T16:42:44.953+08:00 ERROR 1 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalTransactionScanner' defined in class path resource [org/apache/seata/spring/boot/autoconfigure/SeataAutoConfiguration.class]: Failed to instantiate [org.apache.seata.spring.annotation.GlobalTransactionScanner]: Factory method 'globalTransactionScanner' threw exception with message: Cannot invoke "org.apache.seata.config.Configuration.addConfigListener(String, org.apache.seata.config.ConfigurationChangeListener)" because "originalConfiguration" is null at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:654) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:642) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1330) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204) at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:261) at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:796) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:600) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:746) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:448) at org.springframework.boot.SpringApplication.run(SpringApplication.java:324) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1321) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1310) at org.dxstudio.rate.DxStartApplication.main(DxStartApplication.java:13) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:95) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.seata.spring.annotation.GlobalTransactionScanner]: Factory method 'globalTransactionScanner' threw exception with message: Cannot invoke "org.apache.seata.config.Configuration.addConfigListener(String, org.apache.seata.config.ConfigurationChangeListener)" because "originalConfiguration" is null at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:650) ... 25 common frames omitted Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.seata.config.Configuration.addConfigListener(String, org.apache.seata.config.ConfigurationChangeListener)" because "originalConfiguration" is null at org.apache.seata.config.ConfigurationCache.lambda$proxy$0(ConfigurationCache.java:88) at jdk.proxy2/jdk.proxy2.$Proxy100.getBoolean(Unknown Source) at org.apache.seata.spring.annotation.GlobalTransactionScanner.<init>(GlobalTransactionScanner.java:115) at org.apache.seata.spring.annotation.GlobalTransactionScanner.<init>(GlobalTransactionScanner.java:187) at org.apache.seata.spring.boot.autoconfigure.SeataAutoConfiguration.globalTransactionScanner(SeataAutoConfiguration.java:84) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ... 26 common frames omitted -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org