Răsfoiți Sursa

兼容开发环境启动方法

shuzheng 9 ani în urmă
părinte
comite
271399b915

+ 1 - 1
zheng-cms/zheng-cms-rpc-service/src/main/java/com/zheng/cms/rpc/ZhengCmsRpcServiceApplication.java

@@ -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 启动完成 <<<<<");
 	}
 

+ 1 - 1
zheng-upms/zheng-upms-rpc-service/src/main/java/com/zheng/upms/rpc/ZhengUpmsRpcServiceApplication.java

@@ -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 启动完成 <<<<<");
 	}