oxsean commented on issue #15274:
URL: https://github.com/apache/dubbo/issues/15274#issuecomment-3674985213

   @xiamenmin @zhilaohu32
   I don’t think this is a Dubbo bug that needs to be fixed. The core problem 
is that you’re using @RequestMapping to map Dubbo REST APIs, but that 
annotation belongs to Spring MVC by design. This isn’t something Dubbo is 
supposed to deal with.
   
   What you really need to do is exclude these classes from Spring MVC’s 
controller scanning. Another option is to skip Spring MVC annotations 
altogether and use Dubbo’s own mapping, like 
org.apache.dubbo.remoting.http12.rest.Mapping.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to