Getting Exception "java.lang.NoSuchMethodError: com.google.gson.GsonBuilder.setLenient()Lcom/google/

264 views
Skip to first unread message

Ravi Jais

unread,
Feb 22, 2018, 9:56:23 AM2/22/18
to BDD-Security
Hi All,

BDD-Security framework was running fine for me, Yesterday I changed my Laptop and re-synced my BDD security project, But Now Its throwing below exception.

java.lang.NoSuchMethodError: com.google.gson.GsonBuilder.setLenient()Lcom/google/

Please help me to solve this issue.

Thanks

Bill Desjarlais

unread,
Nov 1, 2019, 10:19:36 AM11/1/19
to BDD-Security
I have the same error.  Were you able to resolve?
Bill

Stephen de Vries

unread,
Nov 3, 2019, 4:21:00 AM11/3/19
to BDD-Security
Could you try changing the selenium version from 3.12.0 to 3.14.0 in build.gradle ?

Bill Desjarlais

unread,
Nov 5, 2019, 9:11:21 AM11/5/19
to BDD-Security
Changing Selenium to 3.14 fixed the problem!
Bill
Reply all
Reply to author
Forward
0 new messages