application.properties:

spring.datasource.data=dml-one.sql,dml-two.sql

Failure:

***************************
APPLICATION FAILED TO START
***************************

Description:

Invalid value 'dml-one.sql,dml-two.sql' for configuration property 'spring.datasource.data' (originating from 'class path resource [application.properties] - 1:24'). Validation failed for the following reason:

The specified resource does not exist.

Action:

Review the value of the property with the provided reason.

Rather than saying "The specified resource does not exist", we should indicate which location (in this case dml-one.sql or dml-two.sql) resulted in no resources being found when it was resolved.

Comment From: uc4w6c

Hi! I want to work on this please.

Comment From: wilkinsona

Thanks very much, @uc4w6c. This issue is all yours. Please let us know if you have any questions.

Comment From: snicoll

Closing in favor of PR #25620