This is an automated email from the ASF dual-hosted git repository.
vgalaxies pushed a commit to branch fix-setup-idea
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/fix-setup-idea by this push:
new 3cbbadb9 fix
3cbbadb9 is described below
commit 3cbbadb9e9a3be333e28fd75cede6b6387140018
Author: VGalaxies <[email protected]>
AuthorDate: Mon Jan 22 21:36:17 2024 +0800
fix
---
content/cn/docs/contribution-guidelines/hugegraph-server-idea-setup.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/content/cn/docs/contribution-guidelines/hugegraph-server-idea-setup.md
b/content/cn/docs/contribution-guidelines/hugegraph-server-idea-setup.md
index ae241a5f..d14a820a 100644
--- a/content/cn/docs/contribution-guidelines/hugegraph-server-idea-setup.md
+++ b/content/cn/docs/contribution-guidelines/hugegraph-server-idea-setup.md
@@ -129,7 +129,7 @@ curl
"http://localhost:8080/graphs/hugegraph/graph/vertices" | gunzip
> module java.base does not "exports jdk.internal.reflect" to unnamed module
> @36b0fcd5
-原因是在 **Java 11** 环境下配置**用户认证** (authenticator) 后运行 `HugeGraphServer` 时,未将
`jdk.internal.reflect`
包导出给未命名模块,参考脚本启动时的[配置](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/bin/hugegraph-server.sh#L124),需要在
`HugeGraphServer` 的 `Application` 配置中添加下述 VM options:
+原因是上述步骤在 **Java 11** 环境下配置**用户认证** (authenticator) 后运行 `HugeGraphServer` 时,未将
`jdk.internal.reflect`
包导出给未命名模块。参考脚本启动时的[配置](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/bin/hugegraph-server.sh#L124),需要在
`HugeGraphServer` 的 `Application` 配置中添加下述 VM options:
```text
--add-exports=java.base/jdk.internal.reflect=ALL-UNNAMED
--add-modules=jdk.unsupported --add-exports=java.base/sun.nio.ch=ALL-UNNAMED