java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for com.jayway.restassured.internal.RequestSpecificationImpl$PathType do not match. Expected -1 but got 2

java.lang.IncompatibleClassChangeError: the
number of constructors during runtime and compile time for
com.jayway.restassured.internal.RequestSpecificationImpl$PathType do not
match. Expected -1 but got 2