springmvc-求高手解答,hessian搭建的客户端抛出异常信息,如下!求教,急`~

问题描述

求高手解答,hessian搭建的客户端抛出异常信息,如下!求教,急`~

严重: Servlet.service() for servlet spring threw exception
com.caucho.hessian.io.HessianProtocolException: '
' is an unknown code
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:219)
at com.sun.proxy.$Proxy22.fromCpsReturnVo(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.remoting.caucho.HessianClientInterceptor.invoke(HessianClientInterceptor.java:222)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy23.fromCpsReturnVo(Unknown Source)
at com.pumandai.cps.controller.CpsController.toCpsList(CpsController.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)

hessian版本4.0.7
xml配置文件
<!-- hessian连接服务器接口地址 -->
     <bean id="apiService" class="org.springframework.remoting.caucho.HessianProxyFactoryBean">
        <property name="serviceUrl" value="http://192.168.1.57:8082/cms-web/cpsService" />
        <property name="serviceInterface" value="com.hessian.service.CpsService" />
      <!--  新增overloadEnabled属性,并把它的值设置为true,默认是false,则Hessian就能支持方法的重载了。   -->
        <property name="overloadEnabled" value="true" />
    </bean>
时间: 2025-01-18 08:09:09

springmvc-求高手解答,hessian搭建的客户端抛出异常信息,如下!求教,急`~的相关文章

hibernate-Maven test一个Web项目,报错,弄了一天没弄好,求高手解答

问题描述 Maven test一个Web项目,报错,弄了一天没弄好,求高手解答 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultServletHandlerMapping' defined in class path resource [org/springframework/web/servlet/config/annotation/Delegating

springmvc-Springmvc整合hessian,客户端抛出异常信息,求大神解决,急···跪求···

问题描述 Springmvc整合hessian,客户端抛出异常信息,求大神解决,急···跪求··· 严重: Servlet.service() for servlet spring threw exception java.net.HttpRetryException: cannot retry due to redirection, in streaming mode at sun.net.www.protocol.http.HttpURLConnection.followRedirect(H

android开发-求高手解答安卓软件兼容性的一个问题

问题描述 求高手解答安卓软件兼容性的一个问题 安卓新手一枚,在2.2的试验机上做了个仿qq程序,今天拿了部4.0试了下,很多控件没有反应,甚至有的操作还会报错,不知道是为什么,我在建立这个项目时按照默认的配置配的,求解......

VC++的win32小程序内存泄漏,求高手解答

问题描述 VC++的win32小程序内存泄漏,求高手解答 做的一个简单的交通模拟小程序,用三个定时器分别产生 汽车处理消息,红绿灯更换消息和汽车随机产生消息.但是最后程序内存越跑越大.求高手解答.http://download.csdn.net/detail/hdwbdbsm/6724747这个是程序的下载地址,求高手.

求高手解答:出现警告标语: 从“double”到“float”截断。

问题描述 求高手解答:出现警告标语: 从"double"到"float"截断. 我都是用float定义的,为什么程序编译时会说从double到float截断.代码如下 #includeusing namespace std;//#define float double class po{public: po(float x=0float y=0); void setpo(floatfloat); float getx()const{return x;} float

class-jsp做一个类似于视频评论下的回复功能的获得数据显示,对前端不是很熟悉,求高手解答

问题描述 jsp做一个类似于视频评论下的回复功能的获得数据显示,对前端不是很熟悉,求高手解答 20C CREATE TABLE videocomment (id int(10) NOT NULL AUTO_INCREMENT/**ID**/createTime timestamp NULL DEFAULT CURRENT_TIMESTAMP/**创建时间**/userId int(10) NOT NULL/**用户ID**/videoId int(10) NOT NULL/**视频ID**/re

求高手解答,mantis的bug_change_status_page.php 中报 APPLICATION WARNING #300:

问题描述 求高手解答,mantis的bug_change_status_page.php 中报 APPLICATION WARNING #300: mantis安装成功后,进行了一些配置文件的修改和配置后,在bug_change_status_page.php 页面中,报APPLICATION WARNING #300:,找了好几天,还是找不到问题所在.请各位大侠指教,估计要懂PHP得高手.具体如下图: 解决方案 最后自己还是捣鼓出来了,原来之前看了网上的配置方法,在config_default

swing-关于JTable渲染器Renderer的问题,求高手解答!!!!

问题描述 关于JTable渲染器Renderer的问题,求高手解答!!!! public class MyButtonRender implements TableCellRenderer { private JPanel panel; private JButton add,reduce; private JTextField numbertf; public MyButtonRender() { this.initAdd(); this.initReduce(); this.initNumb

java-openmeetings无法进入登录页面 页面报错Internal error 求高手解答

问题描述 openmeetings无法进入登录页面 页面报错Internal error 求高手解答 用的是apache-openmeetings-3.0.7 连接的是oracle 安装完成后访问一切正常,但是关掉red5 再次启动后 页面无法进入 页面报错:Internal error 后台报错信息为: ERROR 12-30 14:22:42.142 DefaultExceptionMapper.java 255077 170 org.apache.wicke t.DefaultExcept