XStream解析文件的时候遇见的问题
来源:互联网 发布:贵州大数据先天优势是 编辑:程序博客网 时间:2024/06/07 07:01
1.对XStream对象设置autodetectAnnotations,自动检测注解问题。
将对象序列化为xml文件形式,使用同一个XStream进行反序列化时候,正常解析,而当换另外一个XStream进行反序列化的时候,解析xml报错(该XStream对象也设置为自动检测注解)。查看官方文档,有这一段话
Set the auto-detection mode of the AnnotationMapper. Note that auto-detection implies that the XStream is configured while it is processing the XML steams. This is a potential concurrency problem.Also is it technically not possible to detect all class aliases at deserialization.You have been warned!
好吧,我已经得到警告了。。。。寻找其他解决方法
0 0
- XStream解析文件的时候遇见的问题
- XStream解析xml文件遇到的问题
- 在做统计图时候遇见的问题
- 使用XStream解析复杂的XML文件
- 使用XStream解析复杂的XML文件
- 使用XStream解析复杂的XML文件
- 使用XStream解析复杂的XML文件
- [问题解决]安装rocketmq的时候遇见的问题
- 使用quartz的时候遇见的一个问题
- 保存Bean到数据表的时候常遇见的问题
- js表单的登录时候遇见的问题
- 今天遇见的问题
- IIS 遇见的问题
- BaseAdapter 遇见的问题
- 遇见的问题总结
- python 遇见的问题
- tomcat:遇见的问题
- 腾讯地图WebServiceAPI逆地址解析接口遇见的问题
- 知乎网址
- Unity3d 杂碎 转
- Eric4在Windows下的安装
- iOS uiscrollview自动布局的bug,会导致scrollview的内容整体上移,最底下会有留白~~
- C函数常见错误:函数返回指向栈内存的指针或引用
- XStream解析文件的时候遇见的问题
- 在android4.x中使用自定义的webview中出现ZOOM崩溃的问题
- android播放器MediaPlayer快进报错error (-2147483648, 0)&error (-38, 0),分析log解决问题
- 二,怎样的显卡才是好显卡
- 如何用FFmpeg编写一个简单播放器详细步骤介绍(转载)
- Unity3d 缓存池
- [LeetCode] Balanced Binary Tree
- 配置PL/SQL Developer连接服务器数据库
- 如何让nginx支持ThinkPHP框架(重点参考)