标签: spring scala spring-boot
我在springboot应用程序中有一个课
@Table("abc") class ABCDAO{ //getters and setters }
在此类中,我想从application.properties文件或系统环境访问属性。
我尝试过
@Value("${test}") val test: String = ""
但无法读取相同内容。