spring-cloud-bus-rocketmq-example module miss bootstrap dependency
envgap__alibaba__spring-cloud-alibaba-2827
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
bfdc475091fd34debd48d3c9f640519f5d6e7f5f- Manifest
spring-cloud-alibaba-examples/spring-cloud-bus-rocketmq-example/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
alibaba/spring-cloud-alibaba #2827 · read the original issue
In Spring Cloud 2.4+, Spring Cloud remove the default dependency of `spring-cloud-starter-bootstrap`. So the bootstrap.yml can't be valid in spring-cloud-bus-rocketmq-example module.
We need to add below dependency to pom.xml:
```
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>
```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]