I am getting Could not resolve placeholder ‘db.type’ in value “classpath:sql/${db.type}.properties” error when I use “@PropertySource(value = “classpath:sql/${db.type}.properties”)” class level annotation.
Note.
I am using property other than application property file as per the database type. for ex. oracle.properties, sql.properties
Hi. Thank you for contacting Diffblue with this issue. Would you mind sending us the log file written in your .diffblue/logs
directory? It will also help us to know where do you place those .properties
files and how are they used in the source code. We will then try to help you solve the issue. Kind Regards, Cristian
Thanks for your quick reply, I tried one of the resolution mentioned in the ticket and now it is working fine. Thanks you.!