We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
content/zh-cn/overview/mannual/java-sdk/reference-manual/protocol/triple.md#spring-web注解
示例代码是这样的:
@RestController @RequestMapping("/demo") public interface DemoService { @GetMapping(value = "/hello") String sayHello(); }
在starter网站下载的demo项目中这样做会导致启动报错,ambiguous bean 这样的错误。 去掉 @RestController 注解后,启动正常。
ambiguous bean
@RestController
同时在示例项目 https://github.com/apache/dubbo-samples/blob/master/2-advanced/dubbo-samples-triple-rest/dubbo-samples-triple-rest-springmvc/src/main/java/org/apache/dubbo/rest/demo/DemoService.java 中,也没有 @RestController 注解。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
content/zh-cn/overview/mannual/java-sdk/reference-manual/protocol/triple.md#spring-web注解
示例代码是这样的:
在starter网站下载的demo项目中这样做会导致启动报错,
ambiguous bean
这样的错误。去掉
@RestController
注解后,启动正常。同时在示例项目 https://github.com/apache/dubbo-samples/blob/master/2-advanced/dubbo-samples-triple-rest/dubbo-samples-triple-rest-springmvc/src/main/java/org/apache/dubbo/rest/demo/DemoService.java 中,也没有
@RestController
注解。The text was updated successfully, but these errors were encountered: