com.controller.Application]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/application.propertiescom.abc.repository")@EnableAutoConfiguration
@PropertySource("application.properti
在文章中,我们可以看到如何在application.properties中生成随机属性。还有什么方法可以使用application.properties中的java代码生成其他一些属性,比如当前年份吗?java.lang.NumberFormatException: For input string: "${LocalDate.now.getYear}"在iamrajshah回答之后,我看到随机表示类RandomValuePropertyS