I am getting below error while using rest assured(3.0.0) code with java 16 while for java 1.8 same code is working fine.
"java.lang.ExceptionInInitializerError" " groovy.lang.MissingMethodException: No signature of method: static org.apache.http.conn.ssl.X509HostnameVerifier.getSimpleName() is applicable for argument types: () values: []
Need to resolve this exception
Fixed using below solution from - https://github.com/rest-assured/rest-assured/issues/923
I've fixed it by adding this one: