From cf9d4878e98868a841ba864a30b8e9a37393e542 Mon Sep 17 00:00:00 2001 From: xiangzihao <460888207@qq.com> Date: Fri, 25 Oct 2024 09:55:56 +0800 Subject: [PATCH] [Doc-16732][Development] development-environment-setup improvement (#16733) --- docs/docs/en/contribute/development-environment-setup.md | 2 ++ docs/docs/zh/contribute/development-environment-setup.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/docs/en/contribute/development-environment-setup.md b/docs/docs/en/contribute/development-environment-setup.md index 8efa667eb483..bec396666eb9 100644 --- a/docs/docs/en/contribute/development-environment-setup.md +++ b/docs/docs/en/contribute/development-environment-setup.md @@ -130,6 +130,8 @@ Use different Git branch to develop different codes Find the class `org.apache.dolphinscheduler.StandaloneServer` in Intellij IDEA and clikc run main function to startup. +> Note: Please check the option `Add dependencies with "provided" scope to classpath` in the startup configuration before starting, so as to avoid the problem that no dependencies can be found during startup. + ### Start frontend server Install frontend dependencies and run it. diff --git a/docs/docs/zh/contribute/development-environment-setup.md b/docs/docs/zh/contribute/development-environment-setup.md index 53c7245944ef..f22f9742149f 100644 --- a/docs/docs/zh/contribute/development-environment-setup.md +++ b/docs/docs/zh/contribute/development-environment-setup.md @@ -125,6 +125,8 @@ DolphinScheduler 开发环境配置有两个方式,分别是standalone模式 在 Intellij IDEA 找到并启动类 `org.apache.dolphinscheduler.StandaloneServer` 即可完成后端启动 +> 注意:启动前请在启动配置里将 `Add dependencies with "provided" scope to classpath` 选项勾选上,这样可以避免启动时找不到依赖的问题 + ### 启动前端 安装前端依赖并运行前端组件