- 浏览: 810101 次
- 性别:
- 来自: 株洲->深圳
文章分类
- 全部博客 (283)
- JAVA (54)
- 数据库 (25)
- Linux (22)
- Spring (9)
- Hibernate (7)
- mybatis (1)
- struts (10)
- javascript (22)
- Web (11)
- 异常 (30)
- 工具 (21)
- pay (9)
- 软件相关 (7)
- 其它 (28)
- python (1)
- 缓存 (9)
- 面试题 (2)
- 代码规范 (14)
- 网络编程 (1)
- 架构设计 (1)
- 程序测试 (3)
- 移动 (1)
- 安全 (2)
- 服务器 (4)
- 程序员 (1)
- php (4)
- 非技术 (7)
- web容器 (3)
- 竞彩篮球 (1)
- nginx (5)
- 加密 (2)
- jquery (2)
- 原理 (2)
- 项目管理 (1)
- www..betradar.com (0)
- www.betradar.com (1)
- 爬虫 (1)
最新评论
-
July01:
有一款web 打印控件StratoIO,浏览器和系统的兼容性都 ...
WEB免费打印控件推荐(4款) -
lihaimian:
你好,有个问题咨询一个,为何我在java中,无法使用与运算符, ...
位运算、异或的实际应用 -
小黄牛:
很好谢谢分享!推荐几篇spring boot基础入门文章:ht ...
Spring Boot 快速入门 (官方quick start) -
littlesheep:
我按照你的方法从新生成了密钥可是还是报者个错误...
狗日的支付宝 -
di1984HIT:
学习了~~~
javassist:增强型的java反射工具,获取方法参数名
调用的接口与实际的接口参数个数、类型不一样
com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException: expected end of map ('z') at '?' at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java) at $Proxy4.checkLogin(Unknown Source) at com.msd.test.marketing.MarketingHession.testLogin(MarketingHession.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: com.caucho.hessian.io.HessianProtocolException: expected end of map ('z') at '?' at com.caucho.hessian.io.HessianInput.error(HessianInput.java:1642) at com.caucho.hessian.io.HessianInput.readMapEnd(HessianInput.java:1220) at com.caucho.hessian.io.JavaDeserializer.readMap(JavaDeserializer.java:190) at com.caucho.hessian.io.JavaDeserializer.readMap(JavaDeserializer.java:127) at com.caucho.hessian.io.AbstractMapDeserializer.readObject(AbstractMapDeserializer.java:81) at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java) at com.caucho.hessian.io.HessianInput.readReply(HessianInput.java:285) ... 25 more
hessain接口方法不能重载(方法名一样参数不一样)会报找不到方法
hessain方法重载解决的办法:
HessianProxyFactory factory = new HessianProxyFactory();
factory.setOverloadEnabled(true);
另外一种异情况:
Caused by: com.caucho.hessian.io.HessianProtocolException: expected integer at 0x63 at com.caucho.hessian.io.Hessian2Input.error(Hessian2Input.java:2705) at com.caucho.hessian.io.Hessian2Input.expect(Hessian2Input.java:2686) at com.caucho.hessian.io.Hessian2Input.readInt(Hessian2Input.java:845) at com.caucho.hessian.io.Hessian2Input.readObjectDefinition(Hessian2Input.java:2024) at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1674) at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:220) ... 2 morecom.caucho.hessian.io.HessianProtocolException: expected integer at 0x63
请检查接口编写端与调用端Hessian版本是否一致
发表评论
-
linux 服务器挂载出问题,导致写文件失败,程序超时
2014-07-11 11:07 0linux 服务器挂载出问题,导致写文件失败,程序超时 -
HessianProxy cannot connect to 'http://localhost
2014-04-12 10:57 3244HessianProxy cannot connect t ... -
位运算、异或的实际应用
2013-12-24 15:53 10783一. 位操作基础,用 ... -
了解LinkedList原理
2013-12-25 14:38 11311.LinkedList介绍 线性链表集合,循环链表ht ... -
了解ArrayList原理
2013-12-18 10:45 10771.ArrayList 介绍 有序集合,按顺序存储元素 ... -
java Cookie的有效期
2013-12-03 19:55 5978Cookie的有效期 Cookie的maxAge决定着Co ... -
10 道 Java 泛型面试题
2013-10-20 19:07 1764关于泛型的面试题在 Java面试中变得越来越常见,因为 Ja ... -
tomcat 访问记录日志
2013-05-17 01:43 1685Tomcat7.0.xx访问请求记录是默认打开的 ... -
支付宝RSA 公私钥 程序生成,openssl rsa 密钥程序生成,想要多少有多少
2013-05-01 00:21 30171.先配置好openssl 环境变量 保证cmd 输 ... -
MD2withRSA is disabled
2013-04-25 14:44 1721请求https报以一错误: javax.net.ssl.S ... -
狗日的支付宝
2013-04-24 23:26 14649用openssl 生成的密钥老是报以下错误: ja ... -
quartz 启动时会自动启动检测是否有可用的新版本
2013-04-24 20:06 1816日志提示: [org.quartz.utils.Updat ... -
Data truncation: Incorrect datetime value: '' for column 'createTime' at row
2013-03-22 17:11 21879mysql SQL Error: 0, SQLState: ... -
session失效通过头信息判断跳转
2013-03-13 18:06 1641/** * 拦截用户是否登录跳转到登录页 * 页面请 ... -
jsonlib转换树型数据没其它框架好
2013-01-26 14:39 1406jsonlib的性能请看这篇文章:http://wangym ... -
[ava.net.SocketException四大异常解决方案
2012-12-05 12:31 5246java.net.SocketException如何才能 ... -
SSM1.0中UpdateSingleCache 参数keyIndex,dataIndex解释
2012-08-31 00:21 1400simple-spring-memcached 简称:ssm ... -
simple-spring-memcached-3.0.x 注解详解
2012-08-10 18:37 4585@CacheName: 指定缓存实例注解 @Cach ... -
simple-spring-memcached-3.0.x 用了lombok类库记录一下
2012-08-08 12:20 1477消除冗长的 Java 代码 Lombok Lombok ... -
Ehcache集群使用
2012-07-21 15:48 4737集群的事例是由别人提供(附件也提供下载,我将相关包已导入),我 ...
相关推荐
dubbo-monitor监控中心,基于alibaba dubbo.jar开发,解决Decode rpc invocation failed: expected map/object at java.lang.String (Ljava/lang/String)、com.alibaba.dubbo.common.URL' could not be instantiated...
解决 VSCode 编辑 vue 项目报错 Expected indentation of 2 spaces but found 4解决 VSCode 编辑 vue 项目报错 Expected indentation of 2 spaces but found 4问题问题分析解决办法一解决办法二 解决 VSCode 编辑 ...
主要介绍了解决执行脚本报syntax error: unexpected end of file或syntax error near unexpected token fi错误的问题,需要的朋友可以参考下
Figure of expected result
at android.content.res.StringBlock.getShort(StringBlock.java:231) at android.content.res.StringBlock.getString(StringBlock.java:91) at android.content.res.AXmlResourceParser.getName...
Some file crunching failed, see logs for details原因: 构建Gradle的时候,Gradle会去检查一下是否修改过文件的后缀名。一般大多数是出现在图片上,将.jpg修改成了.png
三本书很划算 有k8s 有docker Kubernetes in Action原版
proguard混淆jar包提示错误:Unknown verification type [*] in stack map frame 解决方案:找到proguard源码中proguard\src\proguard\classfile\ClassConstants.java类,然后修改ATTR_StackMapTable的值,将原来的...
With the exception of the volatility pre- mium, our model is intentionally very similar to that of Fama and French (1992) , which is one of the most-cited papers in finance. The classic paper on the ...
expected time bounds for selection
Field Development Extensions of Orocual Field and Prediction of Expected Performance in a Fractured Reservoir.pdf
基于Xcode4.2解决Applications are expected to have a root view controller at the end of application launch 和建立MainWindow教程代码 对应图文教程: http://blog.csdn.net/abowu/article/details/7533026
It supports the rudimentary functions generally expected of a hash table: Inserting and retrieving key-value associations Querying the existence of a key Returning the total number of key-value ...
MySql 的错误代码可能是由于各种原因所致,包括文件权限不正确、数据库连接信息不正确、权限不足、硬盘空间不足等。了解这些错误代码的含义和解决方法是非常重要的,可以帮助我们更好地使用 MySql 数据库。
KEIL编译错误信息
这是一个常见的编译错误,原因是类B对类A中的同名函数f1的重载仅根据返回值或调用约定上的区别。解决方法是检查函数的重载是否正确。 14. Error C2660:'SetTimer' : function does not take 2 parameters 这是一...
android 二进制xml 解析。AXMLPrinter2反编译的时候报错解决
Proteus 仿真MSP430实例之02 跑马灯.7z
Extensive Use of computational tools: Matlab sections at end of each chapter show how to implement concepts from the chapter. Frees the student from the drudgery of mundane calculations and allows him...