遇到下面的异常:
server端:
<2015-7-28 下午08时51分38秒 CST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@17df584 - appName: '_appsdir_manager_dir', name: 'manager', context-path: '', spec-version: 'null', request: weblogic.servlet.internal.ServletRequestImpl@1ef2975[
POST /*****/remote/filenoHttpInvoker HTTP/1.1
Cookie: JSESSIONID=TB2GV30pv1zDDdrvjPjCh8221vv8v0Xp79Y8LGGvPWKLcKn4ynTT!148068397; path=/
User-Agent: Java/1.6.0_13
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-type: application/x-www-form-urlencoded
Content-Length: 41
]]
POST /*****/remote/filenoHttpInvoker HTTP/1.1
Cookie: JSESSIONID=TB2GV30pv1zDDdrvjPjCh8221vv8v0Xp79Y8LGGvPWKLcKn4ynTT!148068397; path=/
User-Agent: Java/1.6.0_13
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-type: application/x-www-form-urlencoded
Content-Length: 41
]]

在使用Spring结合Hessian进行远程调用时,遇到异常HessianConnectionExc,服务器返回500错误。问题源于Hessian不支持方法名重载,导致调用失败。解决方案包括修改服务接口,避免方法名重复,或者在实现时通过不同参数类型区分重载方法。
1万+

被折叠的 条评论
为什么被折叠?



