Skip to content

Known Issues

Aljosha Koecher edited this page Feb 10, 2022 · 2 revisions

The following lists provides an overview of issues that were reported. 🔴: No solution found yet 🟡: Workaround for some cases exists 🟢: Problem solved

Could not initialize class javax.crypto.JceSecurity 🔴

One user experienced trouble when running SkillUp with Java 17. The strack trace contained something like this:

Error during dispatch. (java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity)
  java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity

This error seems to be related to a) a faulty Java installation b) missing security policy jars (see this SO post). Other sources claim that these jars are not needed anymore.

We checked the Java installation multiple times and even installed another one - no luck. Manually adding the the jars did bring no success either. That's why we had to downgrade to another Java version (14 in this case as it was also installed).