Exception while building authentication client

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)’

Any help??

i have same issue, any one figured this out?

Thanks.

do you have a code widget to show how you try to initiate the client?

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.