xraft icon indicating copy to clipboard operation
xraft copied to clipboard

[ERROR] Failed to execute goal on project xraft-kvstore: Could not resolve dependencies for project in.xnnyygn.xraft:xraft-kvstore:jar:0.1.0-SNAPSHOT: Could not find artifact in.xnnyygn.xraft:xraft-core:jar:0.1.0-SNAPSHOT -> [Help 1]

Open OneCodeMonkey opened this issue 4 years ago • 4 comments

While trying to build the source code, execute this command: cd xraft-kvstore && mvn package assembly:single

I got this error:

[INFO] ------------------------------------------------------------------------                                                    
[INFO] BUILD FAILURE                                                                                                               
[INFO] ------------------------------------------------------------------------                                                    
[INFO] Total time:  13.622 s                                                                                                      
[INFO] Finished at: 2020-09-28T10:16:39Z                                                                                           
[INFO] ------------------------------------------------------------------------                                                    
[ERROR] Failed to execute goal on project xraft-kvstore: Could not resolve dependencies for project in.xnnyygn.xraft:xraft-kvstore :jar:0.1.0-SNAPSHOT: Could not find artifact in.xnnyygn.xraft:xraft-core:jar:0.1.0-SNAPSHOT -> [Help 1]                           
[ERROR]                                                                                                                            
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.                                                
[ERROR] Re-run Maven using the -X switch to enable full debug logging.                                                             
[ERROR]                                                                                                                            
[ERROR] For more information about the errors and possible solutions, please read the following articles:                          
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
--
--

xraft-compile-error

Am I missing to import something...?

OneCodeMonkey avatar Sep 28 '20 10:09 OneCodeMonkey

I tried to import the xraft-core.jar package independently, but report the same :(

OneCodeMonkey avatar Sep 28 '20 12:09 OneCodeMonkey

Please run mvn package under the source root. Running under submodules won't success.

xnnyygn avatar Sep 30 '20 06:09 xnnyygn

Please run mvn package under the source root. Running under submodules won't success.

This can success, but run: sh bin/xraft-kvstore -gc A,localhost,2333 B,localhost,2334 C,localhost,2335 -m group-member -i A -p2 3333 nothing happen。。。

OneCodeMonkey avatar Sep 30 '20 11:09 OneCodeMonkey

Nothing shown in the logs? It's weird. Can you describe more about your environment?

xnnyygn avatar Oct 04 '20 00:10 xnnyygn