digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 37 下一页

2017年2月16日

摘要: CXF调用web service报错:java.lang.NoSuchMethodError: javax.wsdl.xml.WSDLReader.readWSDL 原因,wsdl jar报冲突,系统中有一个 wsdl4j-1.5.1.jar 和一个 CXF引入的 wsdl4j-1.6.x.jar, 阅读全文
posted @ 2017-02-16 22:53 digdeep 阅读(1322) 评论(0) 推荐(0)

2017年2月14日

摘要: value = URLDecoder.decode(request.getParameter(paraName), "UTF-8"); 前端用了 encodeURI 来编码参数,后端用 URLDecoder 解码,报错: java.lang.IllegalArgumentException: URL 阅读全文
posted @ 2017-02-14 15:48 digdeep 阅读(7813) 评论(1) 推荐(1)

2017年2月10日

摘要: ajax 提交时,默认采用的是 get提交方式,数据是放在头部的,数据量超过了限制,所以报错。 改成 post提交,将数据放到 body 中。解决问题。 其他解决方法: the proper solution is to add the following property under http-l 阅读全文
posted @ 2017-02-10 22:01 digdeep 阅读(720) 评论(0) 推荐(0)

2017年1月19日

摘要: 在某场景中一句简单的js: $("#changeOption").text("增加"); 在 IE8 下面报错:'意外地调用了方法或属性访问' 改成:$("#changeOption").html("增加"); 报同样的错。 改成:document.getElementById('changeOpt 阅读全文
posted @ 2017-01-19 21:10 digdeep 阅读(1195) 评论(0) 推荐(0)

2016年11月27日

摘要: 最近项目中,遇到一个报错: java.lang.OutOfMemoryError: unable to create new native thread 报错的场景是:一个消息的群发,群里总共有50多个人,一群发 tomcat 就崩溃了,查看日志报上面的错误。 这个错误的基本情况是,没有内存来创建新 阅读全文
posted @ 2016-11-27 21:45 digdeep 阅读(5737) 评论(0) 推荐(0)

2016年11月24日

摘要: Log4j报错: log4j:ERROR Failed to rename [/log/xxx.log] to [/log/xxx.log.2016-11-23.log] google了一下发现是个bug: https://bz.apache.org/bugzilla/show_bug.cgi?id 阅读全文
posted @ 2016-11-24 09:11 digdeep 阅读(3099) 评论(0) 推荐(0)

2016年9月23日

摘要: 直接上代码: 拦截方法:com.xxxx.wx.mapper.MymessageMapper.insert(Mymessage message) 插入消息记录之后,马上推送消息。 配置: spring配置文件中加入扫描: <context:component-scan base-package="c 阅读全文
posted @ 2016-09-23 17:04 digdeep 阅读(3732) 评论(0) 推荐(0)

摘要: 解决方法: http://stackoverflow.com/questions/10482563/aop-java-lang-illegalargumentexception-error-at-0-cant-find-referenced-poi updating the AspectJ libr 阅读全文
posted @ 2016-09-23 16:55 digdeep 阅读(661) 评论(0) 推荐(0)

2016年8月23日

摘要: mybatis突然查不到数据,查询返回的都是Null,但是 select count(*) from xxx查询数量,返回却是正常的。 Preparing: SELECT id,a9004,a9005,a9015 FROM a90 where a9010 = ? ORDER BY id LIMIT 阅读全文
posted @ 2016-08-23 22:37 digdeep 阅读(14160) 评论(0) 推荐(1)

2016年8月18日

摘要: 在老系统中该函数调用一次需要话20多秒到30秒左右。 拿到sql之后,首先要确定思路。不能着急这下手。 1. 首先查看各个表的数据量: select count(*) from xxx; 发现只有 a21 的数据量达到了十几万,其他表数据量都比较小。所以重点是 a21表,仔细阅读了一遍函数的定义,发 阅读全文
posted @ 2016-08-18 13:23 digdeep 阅读(888) 评论(0) 推荐(0)

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 37 下一页
不懂数据库和Web安全的架构师不是一个好的程序员。