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 Java.lang.ClassNotFoudException : com.mapr.synth.Synth #45

Open
wahidsxm opened this issue Mar 6, 2022 · 1 comment
Open

Error Java.lang.ClassNotFoudException : com.mapr.synth.Synth #45

wahidsxm opened this issue Mar 6, 2022 · 1 comment

Comments

@wahidsxm
Copy link

wahidsxm commented Mar 6, 2022

Hello,
I created a folder "~/git/target/" and I copied the synth file in it. I also created a schema.synth file with the following informations:

[
   {"name":"id", "class":"id"},
   {"name":"name", "class":"name", "type":"first_last"},
   {"name":"gender", "class":"string", "dist":{"MALE":0.5, "FEMALE":0.5, "OTHER":0.02}},
   {"name":"address", "class":"address"},
   {"name":"first_visit", "class":"date", "format":"MM/dd/yyyy"}
]

All other files of the project are stored in "~/git/" folder.

When I execute the command : ./target/synth -count 500 -schema schema.synth I get the following error:

Java.lang.ClassNotFoudException : com.mapr.synth.Synth

Can you guys help me solve this issu as I need to stress test my ELK stack.

Thanks

@tdunning
Copy link
Owner

The cheesy way that I create the executable probably assumes that the jar file is in the same directory.

Or you haven't compiled the code.

The second is most likely. Do this:

mvn package

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