
错误记录
久梦歌行
欢迎关注公众号:蜜蜂技术巢
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Resource leak: 'context' is never closed
spring实例化时 public void test2() { ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml"); //配置文件中的id属性 IHelloService service = (IHelloService) context.getBean原创 2014-12-28 09:06:58 · 11061 阅读 · 1 评论 -
spring错误解决
10:55:45,435 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [applicationContext.xml] 10:55:45,850 INFO GenericApplicationContext:510 - Refreshing org.sprin原创 2015-01-03 13:11:01 · 8364 阅读 · 2 评论 -
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener原创 2015-04-11 12:41:49 · 448 阅读 · 0 评论 -
tomcat内存溢出
linux catalina.sh中 JAVA_OPTS="-server -Xms800m -Xmx800m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:MaxNewSize=512m" windows catalina.bat中 set JAVA_OPTS=-Xms800m -Xmx800m -XX:PermSize=256M -XX:M原创 2015-11-18 09:38:57 · 396 阅读 · 0 评论 -
JDBCExceptionReporter.logExceptions(234) | connection holder is null
使用的是druid连接池 连接使用了超过配置时长,还没释放所报的错误 解决 1.removeAbandonedTimeout配置时间变大 2.代码中保持每次连接时间小于removeAbandonedTimeout的时间,可以把长时间的连接操作,分成几段来做原创 2016-04-12 12:29:43 · 4907 阅读 · 0 评论 -
uploadify在ie和火狐报406错误
在使用uploadify上传时,用chrome是正常的,使用ie和火狐就报406错误。 项目使用springmvc,上传返回使用@ResponseBody 将@ResponseBody注解去掉。 使用response返回,解决问题 response.setContentType("application/json; charset=UTF-8"); response.getWri原创 2016-06-06 20:09:58 · 1781 阅读 · 0 评论