兄弟 我找到根本原因了,你是不是引用了spring-boot-properties-migrator这个包 把这个包去掉就没问题了,更详细的坐标信息见附件图片
---原始邮件---
发件人: @.>
发送时间: 2022年7月28日(周四) 下午5:11
收件人: @.>;
抄送: @.**@.>;
主题: Re: [seata/seata] [分享] seata:1.5.2结合nacos:2.1.0,seata-spring-boot-starter:1.5.2,相关的配置 (Issue #4776)
大佬好,请问Seata中Modify 'seata.transport.rpcRmRequestTimeout' so that it conforms to the canonical names requirements问题怎么解决呀.
他错误提示说得很清晰了呀,不要使用小驼峰,要用横杠作为分隔符
可是我没配值这个东西呀,seata1.4.2+spring-cloud-starter-alibaba-seata2021.1是可以跑的,换成1.5.2不行了
这个完整异常堆栈晒出来给我看下
2022-07-28 16:57:29.156 ERROR 17868 --- [ main] c.t.c.a.Slf4jFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Configuration property name 'seata.transport.rpcRmRequestTimeout' is not valid:
Invalid characters: 'R', 'R', 'T' Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
Action:
Modify 'seata.transport.rpcRmRequestTimeout' so that it conforms to the canonical names requirements.
2022-07-28 16:57:29.159 ERROR 17868 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Configuration property name 'seata.transport.rpcRmRequestTimeout' is not valid:
Invalid characters: 'R', 'R', 'T' Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
Action:
Modify 'seata.transport.rpcRmRequestTimeout' so that it conforms to the canonical names requirements.
2022-07-28 16:57:29.161 ERROR 17868 --- [ main] c.t.c.a.Slf4jFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Configuration property name 'seata.transport.rpcRmRequestTimeout' is not valid:
Invalid characters: 'R', 'R', 'T' Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
Action:
Modify 'seata.transport.rpcRmRequestTimeout' so that it conforms to the canonical names requirements.
2022-07-28 16:57:29.162 ERROR 17868 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Configuration property name 'seata.transport.rpcRmRequestTimeout' is not valid:
Invalid characters: 'R', 'R', 'T' Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
Action:
Modify 'seata.transport.rpcRmRequestTimeout' so that it conforms to the canonical names requirements.
org.springframework.boot.context.properties.source.InvalidConfigurationPropertyNameException: Configuration property name 'seata.transport.rpcRmRequestTimeout' is not valid
at org.springframework.boot.context.properties.source.ConfigurationPropertyName.elementsOf(ConfigurationPropertyName.java:577)
at org.springframework.boot.context.properties.source.ConfigurationPropertyName.elementsOf(ConfigurationPropertyName.java:554)
at org.springframework.boot.context.properties.source.ConfigurationPropertyName.of(ConfigurationPropertyName.java:545)
at org.springframework.boot.context.properties.source.ConfigurationPropertyName.of(ConfigurationPropertyName.java:522)
at org.springframework.boot.context.properties.migrator.PropertiesMigrationReporter.lambda$null$1(PropertiesMigrationReporter.java:103)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.springframework.boot.context.properties.migrator.PropertiesMigrationReporter.lambda$getMatchingProperties$2(PropertiesMigrationReporter.java:101)
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
at org.springframework.boot.context.properties.migrator.PropertiesMigrationReporter.getMatchingProperties(PropertiesMigrationReporter.java:101)
at org.springframework.boot.context.properties.migrator.PropertiesMigrationReporter.getReport(PropertiesMigrationReporter.java:64)
at org.springframework.boot.context.properties.migrator.PropertiesMigrationListener.onApplicationPreparedEvent(PropertiesMigrationListener.java:66)
at org.springframework.boot.context.properties.migrator.PropertiesMigrationListener.onApplicationEvent(PropertiesMigrationListener.java:55)
at org.springframework.boot.context.properties.migrator.PropertiesMigrationListener.onApplicationEvent(PropertiesMigrationListener.java:44)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131)
at org.springframework.boot.context.event.EventPublishingRunListener.contextLoaded(EventPublishingRunListener.java:100)
at org.springframework.boot.SpringApplicationRunListeners.lambda$contextLoaded$4(SpringApplicationRunListeners.java:71)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111)
at org.springframework.boot.SpringApplicationRunListeners.contextLoaded(SpringApplicationRunListeners.java:71)
at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:197)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:114)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:77)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:82)
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:63)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111)
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:62)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:375)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:333)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1329)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1318)
at com.tcl.tms.runcenter.TmsRuncenterApplication.main(TmsRuncenterApplication.java:16)
Process finished with exit code 0
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>