问题:

在整合spring+cxf时报错java.util.Map is an interface, and JAXB can't handle interfaces.

解决方法:

将服务端的services接口返回的Map类型的值改为HashMap. 
因为在做webService复杂类型值传递时,返回值的类型不要用接口类型。例如List应该改为ArrayList,Map改为HashMap等。

相关文章:

  • 2022-01-20
  • 2022-12-23
  • 2021-05-14
  • 2022-01-19
  • 2021-05-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-04
  • 2022-01-11
  • 2021-12-02
  • 2021-10-31
  • 2021-09-28
  • 2022-12-23
相关资源
相似解决方案