You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Field error in object 'weight' on field 'group': rejected value [null]; codes [NotEmpty.weight.group,NotEmpty.group,NotEmpty.java.lang.String,NotEmpty]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [weight.group,group]; arguments []; default message [group]]; default message [不能为空]
at org.springframework.boot.context.properties.bind.validation.ValidationBindHandler.validateAndPush(ValidationBindHandler.java:141)
at org.springframework.boot.context.properties.bind.validation.ValidationBindHandler.validate(ValidationBindHandler.java:114)
at org.springframework.boot.context.properties.bind.validation.ValidationBindHandler.onFinish(ValidationBindHandler.java:105)
at org.springframework.boot.context.properties.bind.Binder.handleBindResult(Binder.java:368)
at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:349)
... 59 common frames omitted
2024-12-13 17:50:28.863 ERROR [/] [-main-] c.a.g.l.RefreshRoutesResultEventListener : refresh routes error org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'weight' to org.springframework.cloud.gateway.support.WeightConfig
2024-12-13 17:50:34.006 INFO [/] [-main-] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2024-12-13 17:50:34.063 ERROR [/] [-main-] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Binding to target org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'weight' to org.springframework.cloud.gateway.support.WeightConfig failed:
Property: weight.group
Value: "null"
Reason: 不能为空
Action:
Update your application's configuration```
The text was updated successfully, but these errors were encountered:
Describe the bug
Fully Expanded Arguments for WeightRoutePredicate always occur empty error in startup procedure
Sample
spring-cloud-starter-gateway:4.0.7
error msg:
The text was updated successfully, but these errors were encountered: