04 2018 档案

摘要:1、@ContextConfiguration(locations={"classpath*:applicationContext.xml"}) 提示*.xml文件找不到, a) 检查文件路径是否正确,比如如果在资源文件夹下的子文件下的话,需要带文件夹路径 b) 是否有多个资源文件,如果存在多个,需 阅读全文
posted @ 2018-04-24 18:09 hello_myworld 阅读(108) 评论(0) 推荐(0)
摘要:1.跨服务接口调用的数据量超过一定量的时候,接口会出现无响应,强制断开请求连接 2.gson 和fastjson序列化和反序列过程中可能会出现内存溢出,gson默认情况下不会序列化为null的字段, fastjson反序列化泛型类 :JSON.parseObject(result, new Type 阅读全文
posted @ 2018-04-23 09:13 hello_myworld 阅读(565) 评论(0) 推荐(0)