Kos Prov

Results 11 comments of Kos Prov

Hi, Have you added the dependency to a backend? Like that: com.kosprov.jargon2 jargon2-native-ri-backend 1.1.1 runtime

I would, first, remove the `runtime` from the dependency. Maybe there's something fishy with shade or your runtime environment. If that didn't work, I would try to define the jvm...

Open your final jar and check if it has this content inside it: https://github.com/kosprov/jargon2-backends/tree/master/jargon2-native-ri-binaries-generic/src/main/resources

Please, clone the `jargon2-examples` repository, `minimal` branch, and follow the instructions on the README file. ``` https://github.com/kosprov/jargon2-examples/tree/minimal ``` This is the minimal example and I've just tested with openjdk 8...

Since the example code works as-is in your machine, you have a baseline to compare your project with. `net.java.dev.jna:jna:4.1.0` is a transitive _runtime_ dependency, so it's already in the classpath....

`https://github.com/kosprov/jargon2-backends/blob/master/jargon2-native-ri-binaries-generic/src/main/resources/win32-x86-64/argon2.dll` is packaged inside `com.kosprov.jargon2:jargon2-native-ri-binaries-generic` which is, also, a runtime dependency.

Please, do this: https://github.com/kosprov/jargon2-api/issues/8#issuecomment-807335083 If it works, then there's something wrong in your project poms or runtime.