Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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] #10

Open
OneCodeMonkey opened this issue Sep 28, 2020 · 4 comments

Comments

@OneCodeMonkey
Copy link

OneCodeMonkey commented Sep 28, 2020

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
Copy link
Author

OneCodeMonkey commented Sep 28, 2020

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

@xnnyygn
Copy link
Owner

xnnyygn commented Sep 30, 2020

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

@OneCodeMonkey
Copy link
Author

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。。。

@xnnyygn
Copy link
Owner

xnnyygn commented Oct 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants