私はこの設定クラスを私のSpring Bootアプリケーションに持っています。 v1.5.3.RELEASE@ProfileアノテーションのAND演算子
@Configuration
@Profile("dev && cub")
@PropertySource("file:///${user.home}/.cub/application-dev.properties")
public class CubDevelopmentConfig {
..
}
とConfigクラスは、私も@Profile("{dev && cub}")
@YCF_Lあなたは優しいです。本当にありがとう。しかし、それは必要ではありません:) – davidxxx