You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "mercyblitz (GitHub)" <gi...@apache.org> on 2019/12/12 06:33:41 UTC

[GitHub] [dubbo] mercyblitz commented on issue #5463: Could Dubbo REST use same port with SpringBoot Server port or how do?

Yes, you can do it, but you have to change a little bit.

First, you should remove the configuration of Dubbo's REST, which means the Dubbo service with REST protocol should not be exported.

Second, your Dubbo `@Service` Classes annotate the `@Component`.

Finally, you read [this article](https://dzone.com/articles/using-jax-rs-with-spring-boot-instead-of-mvc) instructing the remaining work.

[ Full content available at: https://github.com/apache/dubbo/issues/5463 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org