Hi it is me again. Nobody has a solution ? It is a simple use case to reproduce.
Le ven. 8 avr. 2022 à 17:20, Daniel SAWAN <danielsa...@gmail.com> a écrit : > Hello, > > I have a method on a dubbo server : > > public void test(List<User> users); > > when i call it from dubbo client i got 2 errors: > > server side error : > java.lang.ClassCastException: class com.alibaba.fastjson.JSONObject cannot > be cast to class models.User (com.alibaba.fastjson.JSONObject and > models.User are in unnamed module of loader java.net.URLClassLoader > @14f3c6fc) > > client side error : > Caused by: org.apache.dubbo.remoting.RemotingException: > com.alibaba.fastjson.JSONException: autoType is not support. > java.lang.ClassCastException > > Seems like instead of sending a List<User> dubbo client is sending a > List<JSONObject> to Dubbo server. > > If someone knows the reason... > > Thanks for your help ! >