会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
谭金府
博客园
首页
新随笔
联系
管理
订阅
2016年6月19日
Workaround for the issue that a BigDecimal value becomes 0 using Hessian
摘要: 1. 现象 Hessian client调用server端的方法得到一个对象,但其中BigDecimal类型的field值变为0。所用版本为4.0.33。 2. 研究与分析 通过查询,发现这是hessian的bug,BigDecimal objects are incorrectly seriali
阅读全文
posted @ 2016-06-19 18:56 谭金府
阅读(785)
评论(0)
推荐(0)
2016年5月21日
Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
摘要: 启动web应用时出现以下异常: 搜索后,使用这里的方法解决了: http://blog.sina.com.cn/s/blog_63d48d510100t77r.html 将cglib版本由2.1 改为 2.2。
阅读全文
posted @ 2016-05-21 11:47 谭金府
阅读(8481)
评论(0)
推荐(0)
获取tomcat部署war包时出现的异常信息
摘要: Tomcat 8 启动后开始部署war包, 观察到console窗口中出现异常,日志中也没有异常的详细信息,之后窗口立刻关闭,也无法看清异常详细信息。 如何得到异常信息用以进一步研究呢?如果能把console中的信息记录下来,那就一目了然了。 于是尝试了以下方法: 1. 修改tomcat的conf/
阅读全文
posted @ 2016-05-21 10:58 谭金府
阅读(1700)
评论(0)
推荐(0)
com.caucho.hessian.io.HessianProtocolException: expected string at 0x6d
摘要: 1. 现象 在学习Hessian时,A系统通过hessian去调用B,但收到500错误: java.io.IOException: Server returned HTTP response code: 500 for URL 调试B,看到标题所述异常。 2. 分析 经过搜索,看到这样的信息: “是
阅读全文
posted @ 2016-05-21 10:36 谭金府
阅读(11552)
评论(0)
推荐(0)
公告