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

Utilizzo sul Mac #1

Open
forlando952 opened this issue Apr 20, 2020 · 5 comments
Open

Utilizzo sul Mac #1

forlando952 opened this issue Apr 20, 2020 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@forlando952
Copy link

Salve anzitutto complimenti per il software.
Volevo segnalare che su Mac Os Catilina, utilizzando Token Usb Key4-c ed eseguendo tutte le istruzioni mi da il seguente errore
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)
Caused by: java.lang.NoSuchMethodError: sun.security.pkcs11.SunPKCS11.(Ljava/io/InputStream;)V
at eu.europa.esig.dss.token.Pkcs11SignatureToken.installProvider(Pkcs11SignatureToken.java:154)
at eu.europa.esig.dss.token.Pkcs11SignatureToken.getProvider(Pkcs11SignatureToken.java:130)
at eu.europa.esig.dss.token.Pkcs11SignatureToken.getKeyStore(Pkcs11SignatureToken.java:174)
at eu.europa.esig.dss.token.AbstractKeyStoreTokenConnection.getKeys(AbstractKeyStoreTokenConnection.java:24)
at com.unical.digitalsignature.Main.sign(Main.java:191)
at com.unical.digitalsignature.Main.main(Main.java:113)
... 5 more

@miguelius
Copy link

miguelius commented Apr 20, 2020 via email

@forlando952
Copy link
Author

forlando952 commented Apr 20, 2020 via email

@AlessioScarfone
Copy link
Owner

Hi, I used Java 8 update 181.

I think @miguelius's suggestion is correct (Thanks @miguelius for your comment).
So you can try with an older version of Java or a refactor.

@AlessioScarfone AlessioScarfone added the bug Something isn't working label Apr 22, 2020
@miguelius
Copy link

miguelius commented Apr 22, 2020 via email

@AlessioScarfone AlessioScarfone added help wanted Extra attention is needed and removed bug Something isn't working labels Apr 23, 2020
@miguelius
Copy link

digidoc4j should be updated for a release supporting java9+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants