I want to have a list of values in a .properties file, ie: my.list.of.strings=ABC,CDE,EFG …
java spring spring-propertiesI've had this working in some other project before, I am just re-doing the same thing but for some reason …
java spring spring-propertiesI am working on a Spring Boot application. I need to parse an XML file (countries.xml) on start. The …
java spring spring-boot resources spring-propertiesI want to use the @Value annotation to inject a Double property such as: @Service public class MyService { @Value("${item.…
java spring spring-el spring-properties property-placeholderEnum public enum Property { A, AB, ABC; } Field @Value("${custom.property}") protected Property property; application.properties (lower case) custom.property=…
java spring spring-boot enums spring-propertiesIs there a way we can lookup file resources using relative path in application.properties file in Spring boot application …
spring spring-boot spring-propertiesI have the following property annotated with @Value. I have a default value defined using the default separator of ':" @…
spring spring-annotations spring-propertiesI have property file application-dev.yml with content: spring.profiles: dev config.some.value: - ELEMENT1 - ELEMENT2 and another …
spring spring-propertiesI'm using Spring Boot application. In some @Component class @Value fields are loaded, instead on other classes they are always …
java spring spring-boot spring-bean spring-propertiesIn application.properties we have the line spring.profiles.active=LOCALHOST In application-DEV.properties , we have the line spring.profiles.…
java spring spring-boot spring-profiles spring-properties