I have this configuration class in my Spring Boot appl. v1.5.3.RELEASE
@Configuration
@Profile("dev && cub")
@PropertySource("file:///${user.home}/.cub/application-dev.properties")
public class CubDevelopmentConfig {
..
}
and this property defined in my application.properties
spring.profiles.active=dev, cub
but the config class is not loaded
I also tried @Profile("{dev && cub}")