Integrating webhook with JAVA

I have added webhook in my but i am getting below error.

I am capturing data in com.google.gson.JsonObject JsonObject.