Let me give you another example:
I've posted some crypto stuff. As it uses AES-256 it fails with anything lower than Java 8 update 161 (as 161 was the update when oracle finally dropped the restriction on crypto). So it fails with this stacktrace:
This tells me: ok, in line 29 of my code I call something else wich in the end failed. In my code this is a call to a helper method to store an encrypted keypair. In this helper method I use AES-256. As this is executed with Java 8 update 144 I'm not allowed to use AES-256 as 144 is restricted to only AES-128.
The line causing this issue:
The issue: AES-256-OFB - not allowed with 8u144 causing the stacktrace.
So, to maybe get more into your problem, we need the complete stacktrace you get. Then we can try to identify the class in wich the exception is caused and from there we can work your code up until the call goes to the lib and try to figure out if its something wrong with what you wrote, if it's an error with the lib or maybe an issue with the environment its run on.
The few information you gave us until now aren't enough to help.
Hope this gets you further.