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:
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class ```
com.squareup.jnagmp.LibGmp
at com.squareup.jnagmp.Gmp.<init>(Gmp.java:175)
at com.squareup.jnagmp.Gmp.<init>(Gmp.java:33)
at com.squareup.jnagmp.Gmp$1.initialValue(Gmp.java:133)
at com.squareup.jnagmp.Gmp$1.initialValue(Gmp.java:131)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
at java.lang.ThreadLocal.get(ThreadLocal.java:170)
at com.squareup.jnagmp.Gmp.modPowInsecure(Gmp.java:95)
The relevant pom.xml section:
<dependencies>
<dependency>
<groupId>com.squareup.jnagmp</groupId>
<artifactId>jnagmp</artifactId>
<version>2.1.0</version>
</dependency>
..........
<dependency>
<groupId>com.squareup.jnagmp</groupId>
<artifactId>bouncycastle-rsa</artifactId>
<version>2.1.0</version>
</dependency>
</dependencies>
Any ideas?
Thanks
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