You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.
spring-xdiamond配置文件的注入方式如下:
@SpringBootApplication()
@EnableScheduling
@ImportResource("classpath:spring-xdiamond-springboot.xml")
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
我想将xdiamond.server.ip,port等参数通过application.properties配置,可以吗?
因为项目中由dev,product等等多套环境,每次上线都需要手动替换spring-xdiamond的配置IP,好麻烦啊!
求教!
The text was updated successfully, but these errors were encountered: