微服务启动的时候报Seate在Spring中自动装配失败

发布时间:2026/8/4 8:46:35
微服务启动的时候报Seate在Spring中自动装配失败 报错信息如下org.springframework.beans.factory.BeanCreationException:Errorcreating beanwithname'globalTransactionScanner' defined inclasspath resource[io/seata/spring/boot/autoconfigure/SeataAutoConfiguration.class]:Invocationof init method failed;nested exception isjava.lang.IllegalArgumentException:applicationId:null,txServiceGroup:null-seata-service-group atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794)~[spring-beans-5.2.12.RELEASE.jar:5.2.12.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)~[spring-beans-5.2.12.RELEASE.jar:5.2.12.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)~[spring-beans-5.2.12.RELEASE.jar:5.2.12.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory