esig / dss-demonstrations

Examples of DSS integration
GNU Lesser General Public License v2.1
92 stars 70 forks source link

Error access illegal - dss-token #28

Closed AnguelSC closed 1 year ago

AnguelSC commented 3 years ago

Hello, I come using dss-token in my application but it shows me a runtime error:

image

I have only been able to solve this error by adding in the JVM:

--add-modules javafx.controls,javafx.fxml,javafx.graphics,javafx.base --add-opens jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED

Now that I try to generate my JAR that error persists.

The java version used: 11 DSS-token: 5.8 dss.framework.version: 5.8

Thanks for the help.

bsanchezb commented 2 years ago

Hello,

A reflection access issue has been fixed within the ticket https://ec.europa.eu/cefdigital/tracker/browse/DSS-2424 . Could you please try to upgrade to DSS 5.9 and verify if the issue is still present?

Best regards, Aleksandr.