多个类注解@XStreamAlias,value相同、且在集合上使用了@XStreamImplicit会出现异常: com.thoughtworks.xstream.converters.ConversionException: No field 'null' found in class '.....(注解的类路径)' ---- Debugging information ---- message : No field 'null' found in class '.....' cause-exception : com.thoughtworks.xstream.converters.reflection.MissingFieldException cause-message : No field 'null' found in class '......' class : ...... required-type : ...... converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /.../... line number : 1 version : 1.4.7 ------------------------------- 该包解决了这个bug
2021-06-18 14:56:09 452KB XStreamAlias
1