看完Mikhail Kholodkov的帖子(谢谢!)之后,
解决方案是将以下注释添加到using服务执行点:
@PropertySources({ @PropertySource("classpath:jwtConfig.properties"), @PropertySource("classpath:app.properties")})public class OtherServiceApplication {public static void main(String[] args) { SpringApplication.run(OtherServiceApplication.class, args); }}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)