错误:java.util.Map is an interface, and JAXB can't handle interfaces.时间:2023-03-08 17:08:02 问题: 在整合spring+cxf时报错java.util.Map is an interface, and JAXB can't handle interfaces. 解决方法: 将服务端的services接口返回的Map类型的值改为HashMap. 因为在做webService复杂类型值传递时,返回值的类型不要用接口类型。例如List应该改为ArrayList,Map改为HashMap等。