Could not bind properties

You can change:

@ConfigurationProperties("eclipseLink")

to:

@ConfigurationProperties("eclipselink")

You don't need to change properties file. This will avoid error. Spring will be able to find eclipseLink.* properties.


eclipseLink isn't a valid prefix. As described in the documentation kebab-case should be used rather than camelCase. So your prefix should be eclipse-link rather than eclipseLink.


Camel case is not supported in Spring boot 2.0. It would throw InvalidConfigurationPropertyNameException: Configuration property name '********' is not valid.