今天同事写一个查询接口的时候,出错:元素内容必须由格式正确的字符数据或标记组成. 错误原因:mybatis查询的时候,需要用到运算符 小于号:< 和 大于号: >,在mybatis配置文件里面,这种会被认为是标签,所以解析错误 错误事例: select <include refid="Base_Column_List" /> from t_time_interval where status <> 99 and time_intvl_id >
写在前面的话 写一个简单的播放器,通过RTP接收视频流,进行实时播放.最初,使用ffplay或者vlc接收按照SDP协议文件可以播放视频,但是视频中断后重启,不能正确的解包,时常会出现如下的错误信息. [sdp @ 0x7ffb35034e00] RTP: dropping old packet received too late Last message repeated 15 times 使用ffplay播放udp视频. ➜ view-show ffplay -protocol_whitel
Exception in thread "main" org.json.JSONException: A JSONObject text must begin with '{' at character 1 of [data:[[.....] at org.json.JSONTokener.syntaxError(JSONTokener.java:450) at org.json.JSONObject.<init>(JSONObject.java:179) at org.j
原查询 select sum(case when age<=16 then 1 else 0 end ) age1, sum(case when age>16 and age<=25 then 1 else 0 end ) age2, sum(case when age>25 and age<=35 then 1 else 0 end ) age3, sum(case when age>35 and age<=45 then 1 else 0 end ) age4