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

ls: ./lib: No such file or directory #31

Open
skondi2 opened this issue Apr 22, 2022 · 2 comments
Open

ls: ./lib: No such file or directory #31

skondi2 opened this issue Apr 22, 2022 · 2 comments

Comments

@skondi2
Copy link

skondi2 commented Apr 22, 2022

Running bin/xraft-kvstore -gc A,localhost,2333 B,localhost,2334 C,localhost,2335 -m group-member -i A -p2 3333 inside xraft/xraft-kvstore/src subdirectory results in following error:

ls: ./lib: No such file or directory
Error: -cp requires class path specification

How do I resolve this?

@xnnyygn
Copy link
Owner

xnnyygn commented Apr 24, 2022

Please make sure you are using the released version below or if you are familiar with maven, you can try to compile and run from your IDE or command line.

https://github.com/xnnyygn/xraft/releases

@fwhdzh
Copy link

fwhdzh commented Oct 18, 2024

If you compile the project from the source code following the New Service section in Readme.md, you shuold run command in xraft-kvstore/target/xraft-kvstore-0.1.0-SNAPSHOT-bin/xraft-kvstore-0.1.0-SNAPSHOT instead of xraft-kvstore/src. Otherwise, you will get the error.

The packaging process is following the xraft-kvstore/pom.xml and xraft-kvstore/src/assembly/bin.xml, which imply that the packaged program will be stored as a folder in target direcotry.

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

3 participants