I am getting following exception while creating an AuthenticationClient using okta-auth-java.
Exception in thread “main” java.lang.NoSuchMethodError: ‘com.okta.sdk.impl.config.ClientConfiguration com.okta.sdk.impl.config.ClientConfiguration.setRetryMaxElapsed(int)’
This issue was happening for me because okta call was being blocked by the firewall and it was being retried. once i fixed the firewall issue by adding okta domain to be allowed from my server, this error is resolved. hope this helps someone.