imbajin commented on code in PR #353: URL: https://github.com/apache/incubator-hugegraph-doc/pull/353#discussion_r1555164338
########## content/en/docs/contribution-guidelines/hugegraph-server-idea-setup.md: ########## @@ -146,7 +146,11 @@ The reason may be that cross-compilation is triggered when using Java 11 to comp 1. In IntelliJ IDEA, go to `Preferences/Settings` and find the `Java Compiler` panel. Then, disable the `--release` option (recommended). 2. Set the Project SDK to 8 (Deprecated soon). -#### 2. Unable to Print Location Information (%l) in Log4j2 +#### 2. java: package org.apache.hugegraph.backend.store.raft.rpc.RaftRequests does not exist + +The reason may be that the build did not correctly generate the rpc files leading to a missing package reference. To fix this right click on the `hugegraph-pd` repo and select `Maven->Generate Sources and Update Folders`. This will rebuild the repo and correctly generate the files which should fix the missing reference error. Review Comment: ```suggestion The reason is that the source code didn't include the `RPC-generated` files. You could try 2 ways to fix it: 1. [CMD]`mvn clean compile` in the **root** directory (Recommend) 2. [UI] right click on the `hugegraph` repo and select `Maven->Generate Sources and Update Folders`. This will rebuild the repo and correctly generate the required files. ``` ########## content/en/docs/contribution-guidelines/hugegraph-server-idea-setup.md: ########## @@ -146,7 +146,11 @@ The reason may be that cross-compilation is triggered when using Java 11 to comp 1. In IntelliJ IDEA, go to `Preferences/Settings` and find the `Java Compiler` panel. Then, disable the `--release` option (recommended). 2. Set the Project SDK to 8 (Deprecated soon). -#### 2. Unable to Print Location Information (%l) in Log4j2 +#### 2. java: package org.apache.hugegraph.backend.store.raft.rpc.RaftRequests does not exist Review Comment: ```suggestion #### 2. java: *.store.raft.rpc.RaftRequests does not exist (RPC Generated Files) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
