我想为整个包设置一个配置文件名称,但我不知道如何做。如果哪里没有简单的方法,那么我必须用@Profile注释标记包和子包中的每个类。
@Profile
<context:component-scan/>标签不支持这样的属性profile,所以我不知道。
<context:component-scan/>
profile
java spring spring-profiles
java ×1
spring ×1
spring-profiles ×1