Senhores estou com seguinte erro:
System.out.println(pjsonRetorno);
[{"refugo": "01","descricao": "QUEIMA DE GASES"},{"refugo": "02","descricao": "AFLORAMENTO"},{"refugo": "03","descricao": "LINHA DE FLUXO"}]
Gson gsonRet = new Gson();
JsonObject jsonObjectRet = (JsonObject) gsonRet.fromJson(pjsonRetorno, JsonElement.class ) ;
mar 08, 2018 12:44:52 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
ADVERTÊNCIA: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Exception in thread "main" java.lang.ClassCastException: com.google.gson.JsonArray cannot be cast to com.google.gson.JsonObject
at br.com.cie.webcliente.TotvsWs.main(TotvsWs.java:80)
Porque estou tomando esta Exception, como resolver?