This is an automated email from the ASF dual-hosted git repository.
iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 2db6ddd Update zh quick start document (#593)
2db6ddd is described below
commit 2db6ddd19c53c27de298b2dc9cca93db5a82e67c
Author: tison <[email protected]>
AuthorDate: Thu Aug 6 14:32:20 2020 +0800
Update zh quick start document (#593)
Original links are broken.
---
docs/zh-cn/user/quick-start.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/zh-cn/user/quick-start.md b/docs/zh-cn/user/quick-start.md
index 7496172..1f70a0a 100644
--- a/docs/zh-cn/user/quick-start.md
+++ b/docs/zh-cn/user/quick-start.md
@@ -80,7 +80,7 @@ import
org.springframework.context.support.ClassPathXmlApplicationContext;
public class Provider {
public static void main(String[] args) throws Exception {
- ClassPathXmlApplicationContext context = new
ClassPathXmlApplicationContext(new String[]
{"http://10.20.160.198/wiki/display/dubbo/provider.xml"});
+ ClassPathXmlApplicationContext context = new
ClassPathXmlApplicationContext(new
String[]{"META-INF/spring/dubbo-demo-provider.xml"});
context.start();
System.in.read(); // 按任意键退出
}
@@ -123,7 +123,7 @@ import org.apache.dubbo.demo.DemoService;
public class Consumer {
public static void main(String[] args) throws Exception {
- ClassPathXmlApplicationContext context = new
ClassPathXmlApplicationContext(new String[]
{"http://10.20.160.198/wiki/display/dubbo/consumer.xml"});
+ ClassPathXmlApplicationContext context = new
ClassPathXmlApplicationContext(new String[]
{"META-INF/spring/dubbo-demo-consumer.xml"});
context.start();
DemoService demoService = (DemoService)context.getBean("demoService");
// 获取远程服务代理
String hello = demoService.sayHello("world"); // 执行远程方法