警告: Can't transform property 'dispatchDirectory' from java.lang.String into com.bh.entity.DispatchDi
来源:互联网 发布:我的老婆是网络女主播 编辑:程序博客网 时间:2024/06/14 23:47
问题描述:在进行枚举类型转与Json之间的转换的时候报警告信息。解决方法:Map<String, Object> classMap = new HashMap<String, Object>();<span style="color:#FF6600;"><strong>JSONUtils.getMorpherRegistry().registerMorpher(new EnumMorpher(DispatchDirectory.class));</strong></span>classMap.put("dispatchDirectory", DispatchDirectory.class);......(Directory)JSONObject.toBean(jsonObj,Directory.class,classMap);
0 0
- 警告: Can't transform property 'dispatchDirectory' from java.lang.String into com.bh.entity.DispatchDi
- 警告: Can't transform property 'dispatchDirectory' from java.lang.String into com.bh.entity.DispatchDi
- 警告: Can't transform property 'acceptEvent' from java.lang.String into java.util.List. Will register
- java.lang.UnsatisfiedLinkError: Can't load library from JNI code
- can't convert ActiveRecord::RecordInvalid into String
- java.lang.ClassCastException: java.lang.String cannot be cast to com.qbz.entity.TblUser
- Unknown entity: java.lang.String
- can't find referenced method 'int checkSelfPermission(java.lang.String) 混淆失败的问题
- java.lang.InstantiationException: can't instantiate class
- 关于Error: Can't compile duplicate declarations of entity "**" into library "work"的错误
- 关于Error: Can't compile duplicate declarations of entity "**" into library "work"的错误
- java.lang.TypeNotPresentException: Type com.sht.entity.StoreEntity not present
- u.aly.bt: can't find referenced method 'int checkSelfPermission(java.lang.String)' 混淆失败的问题
- cloud foundry部署报错TypeError: can't convert Hash into String
- ruby操作mysql数据库报错提示can't convert Fixnum into String解决方法
- parse json into string from http response in java
- java.lang.IllegalArgumentException: Can't convert argument: null
- xfire webservice异常 java.lang.IllegalStateException: Can't overwrite cause
- Caused by: java.lang.OutOfMemoryError: PermGen space
- 【mdadm】将任何块设备做成RAID
- 一个编程菜鸟向资深攻城狮的进化之路
- 在CentOS7部署zookeeper集群以及简单API使用
- Java反射机制学习1
- 警告: Can't transform property 'dispatchDirectory' from java.lang.String into com.bh.entity.DispatchDi
- Exists,not Exists,in,not in
- Git专题--Git服务器端配置文档
- SQL 教程
- ios键盘在popViewControllerAnimated 时又弹起
- 剑指offer系列之30:从1到n整数中1出现的次数
- 【pvcreate】创建pv
- mysql 4.2
- java jdbc(二)各接口介绍--Connection,Statement,ResultSet,PreparedStatement,ResultSetMetaData,DatabaseMetaDa