This is an automated email from the ASF dual-hosted git repository.
liujun 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 5d9600e245 Some error in md (#2333)
5d9600e245 is described below
commit 5d9600e245f4172d2d799d90f8998909de3c2546
Author: Wu <[email protected]>
AuthorDate: Tue Feb 28 14:49:10 2023 +0800
Some error in md (#2333)
---
content/zh-cn/overview/quickstart/java/spring-boot.md | 2 +-
content/zh-cn/overview/quickstart/java/spring-xml.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/zh-cn/overview/quickstart/java/spring-boot.md
b/content/zh-cn/overview/quickstart/java/spring-boot.md
index 5811ab0955..1b87940d5f 100644
--- a/content/zh-cn/overview/quickstart/java/spring-boot.md
+++ b/content/zh-cn/overview/quickstart/java/spring-boot.md
@@ -404,7 +404,7 @@ dubbo:
在这个配置文件中,定义了 Dubbo 的应用名、Dubbo 协议信息、Dubbo 使用的注册中心地址。
-### 7. 配置消费端 XML 配置文件
+### 7. 配置消费端 YAML 配置文件
同样的,我们需要创建消费端的配置文件。
diff --git a/content/zh-cn/overview/quickstart/java/spring-xml.md
b/content/zh-cn/overview/quickstart/java/spring-xml.md
index b5172fb2ba..92c46f7c57 100644
--- a/content/zh-cn/overview/quickstart/java/spring-xml.md
+++ b/content/zh-cn/overview/quickstart/java/spring-xml.md
@@ -277,7 +277,7 @@ public class GreetingsServiceImpl implements
GreetingsService {
<context:property-placeholder/>
<!-- 定义应用名 -->
- <dubbo:application name="demo-provider"/>
+ <dubbo:application name="demo-consumer"/>
<!-- 定义注册中心地址 -->
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>