兼容开发环境启动方法

This commit is contained in:
shuzheng 2017-04-02 14:17:18 +08:00
parent cca74f9e65
commit 271399b915
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ public class ZhengCmsRpcServiceApplication {
public static void main(String[] args) {
_log.info(">>>>> zheng-cms-rpc-service 正在启动 <<<<<");
new ClassPathXmlApplicationContext("classpath*:applicationContext*.xml");
new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml");
_log.info(">>>>> zheng-cms-rpc-service 启动完成 <<<<<");
}

View File

@ -14,7 +14,7 @@ public class ZhengUpmsRpcServiceApplication {
public static void main(String[] args) {
_log.info(">>>>> zheng-upms-rpc-service 正在启动 <<<<<");
new ClassPathXmlApplicationContext("classpath*:applicationContext*.xml");
new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml");
_log.info(">>>>> zheng-upms-rpc-service 启动完成 <<<<<");
}