You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/04/29 06:22:25 UTC
[GitHub] [skywalking] martinou opened a new issue #2554: Fix application
cannot start when the dubbo interface with @GetMapping
martinou opened a new issue #2554: Fix application cannot start when the dubbo interface with @GetMapping
URL: https://github.com/apache/skywalking/issues/2554
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [ .] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
___
### Bug
- Which version of SkyWalking, OS and JRE?
SkyWalking
- Which company or project?
dubbo 2.7.1
- What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.
@RestController
@Service
public class OrderController implements OrderService {
@Autowired
private OrderService orderService;
private final static Logger LOGGER = LoggerFactory.getLogger(OrderController.class);
@GetMapping("/saveorder")
public String saveOrder() {
LOGGER.info("saveorder");
orderService.generateOrder();
return "ok";
}
@Override
public void generateOrder() {
orderService.generateOrder();
}
@GetMapping(value = "/findOrderById/{orderId}")
@ResponseBody
@Override
public Order findOrderById(@PathVariable("orderId") Long orderId) {
return orderService.findOrderById(orderId);
}
}
___
### Requirement or improvement
- Please describe about your requirements or improvement suggestions.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services