-
Notifications
You must be signed in to change notification settings - Fork 24
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
java.lang.NoClassDefFoundError exception #31
Comments
@Koshak118 I think this exception generally means that the target class failed to initialize properly-- ie its static initializer(s) threw an exception. But I would have expected to see more information in the stack trace, or a separate exception trace detailing why LibGmp failed to load. |
Hi @dragonsinth Thanks for the fast answer. The following is the more comprehensive stack trace with my own code wiped out (I am working under NDA and cannot disclose the exact functionality which uses your library). Generally the logic is trying to make a "multiply" operation in homomorphic encryption algorithm which includes "mod" operation as well
|
@Koshak118 are you on the latest version? Those line numbers make no sense based on the current source code I'm looking at. |
Hi @dragonsinth Sorry for the delayed answer, was with a limited access to the internet for a couple of days Upgrading the code to the latest version didn't fix a crash; what did fix it is trying to run the code on Mac rather than on Windows, so it looks like it was an environment setup issue As far as I am concerned you can close the issue Thanks for the assistance |
Ah, yes. We don't provide a pre-built binary libgmp for Windows. You'd need to build libgmp yourself. |
Hi
Thanks for this great wrapper, first of all
The issue I've been messing around in a last couple of days is the exception mentioned in the subject, which is thrown in runtime. The trivial things like playing dependencies definitions and their scopes in pom.xml did not help, the local maven repositories and paths seem to be OK.
The stack is as the following:
The relevant pom.xml section:
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: