Code: Select all
apiconfiguration:
apiList:
-
queryParameters:
- something
Code: Select all
@Getter
@Setter
public class ApiConfig {
private List queryParameters = Collections.emptyList();
}
Code: Select all
Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'apiconfiguration.api-list[0].query-parameters' to java.util.List
at org.springframework.boot.context.properties.bind.Binder.handleBindError(Binder.java:399)
at org.springframework.boot.context.properties.ConfigurationPropertiesBinder.bind(ConfigurationPropertiesBinder.java:94)
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.bind(ConfigurationPropertiesBindingPostProcessor.java:96)
... 60 more
Caused by: java.lang.IllegalArgumentException: 'name' must not be null
Mobile version