Self-revolution opened a new issue, #7118:
URL: https://github.com/apache/incubator-seata/issues/7118

   <!-- Please do not use this issue template to report security 
vulnerabilities but refer to our [security 
policy](https://github.com/seata/seata/security/policy). -->
   
   - [ ] I have searched the [issues](https://github.com/seata/seata/issues) of 
this repository and believe that this is not a duplicate.
   
   ### Ⅰ. Issue Description
   镜像`apache/seata-server:2.3.0.jdk21`启动失败
   
   ### Ⅱ. Describe what happened
   
     If there is an exception, please attach the exception trace:
   
   ```
   18:31:04.163  INFO --- [                     main] 
[der$InnerEnhancedServiceLoader] [lExtensionDefinition]  [] : Ignore load 
compatible class io.seata.config.ExtConfigurationProvider, because is not 
assignable from origin type org.apache.seata.config.ExtConfigurationProvider
   18:31:04.223  INFO --- [                     main] 
[ta.config.ConfigurationFactory] [                load]  [] : load 
Configuration from :FileConfiguration$$EnhancerByCGLIB$$6e15d955
   18:31:04.229  INFO --- [                     main] 
[der$InnerEnhancedServiceLoader] [lExtensionDefinition]  [] : Load compatible 
class io.seata.config.ConfigurationProvider
   18:31:04.240  INFO --- [                     main] 
[onfig.nacos.NacosConfiguration] [tNacosAuthProperties]  [] : Nacos check auth 
with userName/password.
   18:31:04.459  INFO --- [                     main] 
[seata.server.ServerApplication] [         logStarting]  [] : Starting 
ServerApplication using Java 21.0.4 on holo with PID 1 (/seata-server/classes 
started by root in /seata-server)
   18:31:04.459  INFO --- [                     main] 
[seata.server.ServerApplication] [ogStartupProfileInfo]  [] : No active profile 
set, falling back to 1 default profile: "default"
   18:31:04.757  WARN --- [                     main] 
[letWebServerApplicationContext] [             refresh]  [] : Exception 
encountered during context initialization - cancelling refresh attempt: 
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse 
configuration class [org.apache.seata.server.ServerApplication]; nested 
exception is 
org.springframework.context.annotation.ConflictingBeanDefinitionException: 
Annotation-specified bean name 'serverRaftProperties' for bean class 
[org.apache.seata.spring.boot.autoconfigure.properties.server.raft.ServerRaftProperties]
 conflicts with existing, non-compatible bean definition of same name and class 
[org.apache.seata.spring.boot.autoconfigure.properties.server.ServerRaftProperties]
   18:31:04.761  INFO --- [                     main] 
[valuationReportLoggingListener] [          logMessage]  [] : 
   
   Error starting ApplicationContext. To display the conditions report re-run 
your application with 'debug' enabled.
   18:31:04.779 ERROR --- [                     main] 
[amework.boot.SpringApplication] [       reportFailure]  [] : Application run 
failed
   ==>
   org.springframework.beans.factory.BeanDefinitionStoreException: Failed to 
parse configuration class [org.apache.seata.server.ServerApplication]; nested 
exception is 
org.springframework.context.annotation.ConflictingBeanDefinitionException: 
Annotation-specified bean name 'serverRaftProperties' for bean class 
[org.apache.seata.spring.boot.autoconfigure.properties.server.raft.ServerRaftProperties]
 conflicts with existing, non-compatible bean definition of same name and class 
[org.apache.seata.spring.boot.autoconfigure.properties.server.ServerRaftProperties]
           at 
org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:188)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:756)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:573)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
 ~[spring-boot-2.7.18.jar:2.7.18]
           at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) 
~[spring-boot-2.7.18.jar:2.7.18]
           at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409)
 ~[spring-boot-2.7.18.jar:2.7.18]
           at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:308) 
~[spring-boot-2.7.18.jar:2.7.18]
           at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) 
~[spring-boot-2.7.18.jar:2.7.18]
           at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1289) 
~[spring-boot-2.7.18.jar:2.7.18]
           at 
org.apache.seata.server.ServerApplication.main(ServerApplication.java:30) 
~[classes/:na]
   Caused by: 
org.springframework.context.annotation.ConflictingBeanDefinitionException: 
Annotation-specified bean name 'serverRaftProperties' for bean class 
[org.apache.seata.spring.boot.autoconfigure.properties.server.raft.ServerRaftProperties]
 conflicts with existing, non-compatible bean definition of same name and class 
[org.apache.seata.spring.boot.autoconfigure.properties.server.ServerRaftProperties]
           at 
org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:349)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:287)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:295)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:249)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:206)
 ~[spring-context-5.3.39.jar:5.3.39]
           at 
org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:174)
 ~[spring-context-5.3.39.jar:5.3.39]
           ... 13 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.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

Reply via email to