Hessian has been appearing all the time. "is an unknown code, turned on overloading, but it hasn't been solved."

in the projects that use spring to integrate hessian, it always appears that the solution given by the search results on the is an unknown code, is to enable the method overloading
, and the solution is as follows:


        <property name="serviceUrl" value="http://127.0.0.1:82/remoting/ddServiceHessian"/>
        <property name="serviceInterface" value="com.bzqll.service.interfaces.IDdService"/>
        <property name="overloadEnabled" value="true"/>
    </bean>
The call to

client is as follows:

//IDdService iDdService;accountService
iDdService.test();

if you call, you will report an error and ask the boss to solve it. If you can, can you add QQ347784533

?

has been solved. Because all requests are matched in Struts2's filter rule, struts2 will intercept when making a hessian request, resulting in a forwarding error. You only need to exclude the request interface of hessian from Filter rule


what?


I cao, all day long, with a ssm project as the client and the springboot project as the server. The client access has always been'{'is an unknown code, set up
< property name= "overloadEnabled" value= "true" / >
, and then my browser visited it directly. I was confused when I returned to 401 without token, and I always thought that the server didn't get it right, until you said strus2 intercept, and I thought of 401 again. Run to open the shiro permissions of springboot, and then run perfectly. In order to thank you, I specially registered for the comment. But I have to face new problems, because I open shiro, but do not have authentication, so this interface has a lot of risks, but. It doesn't matter too much. Let's do it first. Thanks again.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e39b55-44575.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e39b55-44575.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?